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