@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class IncreaseContainersResourceResponse extends Object
 The response sent by the NodeManager to the
 ApplicationMaster when asked to increase container resource.
 
| Constructor and Description | 
|---|
| IncreaseContainersResourceResponse() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Map<ContainerId,SerializedException> | getFailedRequests()Get the containerId-to-exception map in which the exception indicates
 error from each container for failed requests. | 
| abstract List<ContainerId> | getSuccessfullyIncreasedContainers()Get the list of containerIds of containers whose resource
 have been successfully increased. | 
| static IncreaseContainersResourceResponse | newInstance(List<ContainerId> successfullyIncreasedContainers,
           Map<ContainerId,SerializedException> failedRequests) | 
| abstract void | setFailedRequests(Map<ContainerId,SerializedException> failedRequests)Set the containerId-to-exception map in which the exception indicates
 error from each container for failed requests. | 
| abstract void | setSuccessfullyIncreasedContainers(List<ContainerId> succeedIncreasedContainers)Set the list of containerIds of containers whose resource have
 been successfully increased. | 
@InterfaceAudience.Private @InterfaceStability.Unstable public static IncreaseContainersResourceResponse newInstance(List<ContainerId> successfullyIncreasedContainers, Map<ContainerId,SerializedException> failedRequests)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract List<ContainerId> getSuccessfullyIncreasedContainers()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setSuccessfullyIncreasedContainers(List<ContainerId> succeedIncreasedContainers)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract Map<ContainerId,SerializedException> getFailedRequests()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setFailedRequests(Map<ContainerId,SerializedException> failedRequests)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.