@Public
@Unstable
public abstract class ContainerUpdateResponse
extends java.lang.Object
The response sent by the NodeManager to the
ApplicationMaster when asked to update container resource.
| Constructor | Description |
|---|---|
ContainerUpdateResponse() |
| 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> |
getSuccessfullyUpdatedContainers() |
Get the list of containerIds of containers whose resource
have been successfully update.
|
static ContainerUpdateResponse |
newInstance(java.util.List<ContainerId> successfullyUpdatedContainers,
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 |
setSuccessfullyUpdatedContainers(java.util.List<ContainerId> succeedUpdatedContainers) |
Set the list of containerIds of containers whose resource have
been successfully updated.
|
public static ContainerUpdateResponse newInstance(java.util.List<ContainerId> successfullyUpdatedContainers, java.util.Map<ContainerId,SerializedException> failedRequests)
@Public @Unstable public abstract java.util.List<ContainerId> getSuccessfullyUpdatedContainers()
@Private @Unstable public abstract void setSuccessfullyUpdatedContainers(java.util.List<ContainerId> succeedUpdatedContainers)
succeedUpdatedContainers - Containers whose update request were
successfully completed.@Public @Unstable public abstract java.util.Map<ContainerId,SerializedException> getFailedRequests()
@Private @Unstable public abstract void setFailedRequests(java.util.Map<ContainerId,SerializedException> failedRequests)
failedRequests - Containers whose update request were failedCopyright © 2008–2025 Apache Software Foundation. All rights reserved.