|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.protocolrecords.GetContainerStatusesResponse
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class GetContainerStatusesResponse
The response sent by the NodeManager to the
ApplicationMaster when asked to obtain the
ContainerStatus of requested containers.
ContainerManagementProtocol.getContainerStatuses(GetContainerStatusesRequest)| Constructor Summary | |
|---|---|
GetContainerStatusesResponse()
|
|
| Method Summary | |
|---|---|
abstract List<ContainerStatus> |
getContainerStatuses()
Get the ContainerStatuses of the requested containers. |
abstract Map<ContainerId,SerializedException> |
getFailedRequests()
Get the containerId-to-exception map in which the exception indicates error from per container for failed requests |
static GetContainerStatusesResponse |
newInstance(List<ContainerStatus> statuses,
Map<ContainerId,SerializedException> failedRequests)
|
abstract void |
setContainerStatuses(List<ContainerStatus> statuses)
Set the ContainerStatuses of the requested containers. |
abstract void |
setFailedRequests(Map<ContainerId,SerializedException> failedContainers)
Set the containerId-to-exception map in which the exception indicates error from per container for failed requests |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetContainerStatusesResponse()
| Method Detail |
|---|
@InterfaceAudience.Private
@InterfaceStability.Unstable
public static GetContainerStatusesResponse newInstance(List<ContainerStatus> statuses,
Map<ContainerId,SerializedException> failedRequests)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract List<ContainerStatus> getContainerStatuses()
ContainerStatuses of the requested containers.
ContainerStatuses of the requested containers.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setContainerStatuses(List<ContainerStatus> statuses)
ContainerStatuses of the requested containers.
@InterfaceAudience.Public @InterfaceStability.Stable public abstract Map<ContainerId,SerializedException> getFailedRequests()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setFailedRequests(Map<ContainerId,SerializedException> failedContainers)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||