@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
ContainerStatus es 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
ContainerStatus es 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()
ContainerStatus
es of the requested containers.ContainerStatus
es of the requested containers.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setContainerStatuses(List<ContainerStatus> statuses)
ContainerStatus
es of the requested containers.statuses
- ContainerStatus
es 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)
failedContainers
- containerId-to-exception map.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.