@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class GetContainersResponse extends Object
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
,
ApplicationBaseProtocol.getContainers(GetContainersRequest)
Constructor and Description |
---|
GetContainersResponse() |
Modifier and Type | Method and Description |
---|---|
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. |
public GetContainersResponse()
@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 attemptCopyright © 2015 Apache Software Foundation. All Rights Reserved.