@Public
@Unstable
public abstract class ContainerUpdateRequest
extends java.lang.Object
The request sent by Application Master to the
Node Manager to change the resource quota of a container.
| Constructor | Description |
|---|---|
ContainerUpdateRequest() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.util.List<Token> |
getContainersToUpdate() |
Get a list of container tokens to be used for authorization during
container resource update.
|
static ContainerUpdateRequest |
newInstance(java.util.List<Token> containersToIncrease) |
|
abstract void |
setContainersToUpdate(java.util.List<Token> containersToUpdate) |
Set container tokens to be used during container resource increase.
|
@Public @Unstable public static ContainerUpdateRequest newInstance(java.util.List<Token> containersToIncrease)
@Public @Unstable public abstract java.util.List<Token> getContainersToUpdate()
Note: NMToken will be used for authenticating communication with
NodeManager.
NMToken@Public @Unstable public abstract void setContainersToUpdate(java.util.List<Token> containersToUpdate)
AllocateResponse.getUpdatedContainers.
The token contains the container id and resource capability required for
container resource update.containersToUpdate - the list of container tokens to be used
for container resource increase.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.