@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class IncreaseContainersResourceRequest extends Object
The request sent by Application Master to the
Node Manager to change the resource quota of a container.
| Constructor and Description |
|---|
IncreaseContainersResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
abstract List<Token> |
getContainersToIncrease()
Get a list of container tokens to be used for authorization during
container resource increase.
|
static IncreaseContainersResourceRequest |
newInstance(List<Token> containersToIncrease) |
abstract void |
setContainersToIncrease(List<Token> containersToIncrease)
Set container tokens to be used during container resource increase.
|
@InterfaceAudience.Public @InterfaceStability.Unstable public static IncreaseContainersResourceRequest newInstance(List<Token> containersToIncrease)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract List<Token> getContainersToIncrease()
Note: NMToken will be used for authenticating communication with
NodeManager.
NMToken@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setContainersToIncrease(List<Token> containersToIncrease)
AllocateResponse.getIncreasedContainers.
The token contains the container id and resource capability required for
container resource increase.containersToIncrease - the list of container tokens to be used
for container resource increase.Copyright © 2023 Apache Software Foundation. All rights reserved.