| Package | Description |
|---|---|
| org.apache.hadoop.yarn.ams |
Public api for Application Master Service interceptors.
|
| org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
ApplicationMasterServiceUtils.addToUpdatedContainers(AllocateResponse allocateResponse,
ContainerUpdateType updateType,
java.util.List<Container> updatedContainers) |
Add updated containers to
AllocateResponse. |
| Modifier and Type | Method | Description |
|---|---|---|
abstract ContainerUpdateType |
UpdateContainerRequest.getContainerUpdateType() |
Get the
ContainerUpdateType of the container. |
abstract ContainerUpdateType |
UpdatedContainer.getUpdateType() |
Get the
ContainerUpdateType. |
static ContainerUpdateType |
ContainerUpdateType.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ContainerUpdateType[] |
ContainerUpdateType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
static UpdateContainerRequest |
UpdateContainerRequest.newInstance(int version,
ContainerId containerId,
ContainerUpdateType updateType,
Resource targetCapability,
ExecutionType targetExecutionType) |
|
static UpdatedContainer |
UpdatedContainer.newInstance(ContainerUpdateType updateType,
Container container) |
Static Factory method.
|
abstract void |
UpdateContainerRequest.setContainerUpdateType(ContainerUpdateType updateType) |
Set the
ContainerUpdateType of the container. |
abstract void |
UpdatedContainer.setUpdateType(ContainerUpdateType updateType) |
Set the
ContainerUpdateType. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.