|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.yarn.api.protocolrecords.GetContainersResponse
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class GetContainersResponse
The response sent by the ResourceManager
to a client requesting
a list of ContainerReport
for containers.
The ContainerReport
for each container includes the container
details.
ContainerReport
,
ApplicationHistoryProtocol.getContainers(GetContainersRequest)
Constructor Summary | |
---|---|
GetContainersResponse()
|
Method Summary | |
---|---|
abstract List<ContainerReport> |
getContainerList()
Get a list of ContainerReport for all the containers of an
application attempt. |
static GetContainersResponse |
newInstance(List<ContainerReport> containers)
|
abstract void |
setContainerList(List<ContainerReport> containers)
Set a list of ContainerReport for all the containers of an
application attempt. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetContainersResponse()
Method Detail |
---|
@InterfaceAudience.Public @InterfaceStability.Unstable public static GetContainersResponse newInstance(List<ContainerReport> containers)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract List<ContainerReport> getContainerList()
ContainerReport
for all the containers of an
application attempt.
ContainerReport
for all the containers of an
application attempt@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setContainerList(List<ContainerReport> containers)
ContainerReport
for all the containers of an
application attempt.
containers
- a list of ContainerReport
for all the containers of
an application attempt
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |