@InterfaceAudience.Public @InterfaceStability.Stable public abstract class GetContainerStatusesResponse extends Object
NodeManager to the
ApplicationMaster when asked to obtain the
ContainerStatus of requested containers.| Constructor and Description |
|---|
GetContainerStatusesResponse() |
| Modifier and Type | Method and Description |
|---|---|
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
|
@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)
Copyright © 2022 Apache Software Foundation. All rights reserved.