@Public
@Stable
public abstract class StopContainersResponse
extends java.lang.Object
The response sent by the NodeManager to the
ApplicationMaster when asked to stop allocated
containers.
| Constructor | Description |
|---|---|
StopContainersResponse() |
| 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 per container for failed requests.
|
abstract java.util.List<ContainerId> |
getSuccessfullyStoppedContainers() |
Get the list of containerIds of successfully stopped containers.
|
static StopContainersResponse |
newInstance(java.util.List<ContainerId> succeededRequests,
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 per container for failed requests.
|
abstract void |
setSuccessfullyStoppedContainers(java.util.List<ContainerId> succeededRequests) |
Set the list of containerIds of successfully stopped containers.
|
@Private @Unstable public static StopContainersResponse newInstance(java.util.List<ContainerId> succeededRequests, java.util.Map<ContainerId,SerializedException> failedRequests)
@Public @Stable public abstract java.util.List<ContainerId> getSuccessfullyStoppedContainers()
@Private @Unstable public abstract void setSuccessfullyStoppedContainers(java.util.List<ContainerId> succeededRequests)
succeededRequests - the list of containerIds of successfully stopped containers.@Public @Stable 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.