public class DistributedProgramLiveInfo extends ProgramLiveInfo implements Containers
Containers.ContainerInfo, Containers.ContainerType| Constructor and Description |
|---|
DistributedProgramLiveInfo(Id.Program program,
ProgramType type,
String yarnAppId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContainer(Containers.ContainerInfo container)
|
void |
addServices(List<String> services) |
List<Containers.ContainerInfo> |
getContainers() |
String |
getYarnAppId() |
getApp, getId, getName, getRuntime, getTypepublic DistributedProgramLiveInfo(Id.Program program, ProgramType type, String yarnAppId)
public String getYarnAppId()
public List<Containers.ContainerInfo> getContainers()
getContainers in interface ContainersContainers.ContainerInfo.public void addContainer(Containers.ContainerInfo container)
ContainersaddContainer in interface Containerscontainer - instance of Containers.ContainerInfo.Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.