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