Class GetContainersResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.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.
- See Also:
-
ContainerReportApplicationBaseProtocol.getContainers(GetContainersRequest)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ContainerReport>Get a list ofContainerReportfor all the containers of an application attempt.static GetContainersResponsenewInstance(List<ContainerReport> containers) abstract voidsetContainerList(List<ContainerReport> containers) Set a list ofContainerReportfor all the containers of an application attempt.
-
Constructor Details
-
GetContainersResponse
public GetContainersResponse()
-
-
Method Details
-
newInstance
-
getContainerList
Get a list ofContainerReportfor all the containers of an application attempt.- Returns:
- a list of
ContainerReportfor all the containers of an application attempt
-
setContainerList
Set a list ofContainerReportfor all the containers of an application attempt.- Parameters:
containers- a list ofContainerReportfor all the containers of an application attempt
-