| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.ams | Public api for Application Master Service interceptors. | 
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | ApplicationMasterServiceUtils. addToUpdatedContainers(AllocateResponse allocateResponse,
                      ContainerUpdateType updateType,
                      List<Container> updatedContainers)Add updated containers to  AllocateResponse. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ContainerUpdateType | UpdateContainerRequest. getContainerUpdateType()Get the  ContainerUpdateTypeof the container. | 
| abstract ContainerUpdateType | UpdatedContainer. getUpdateType()Get the  ContainerUpdateType. | 
| static ContainerUpdateType | ContainerUpdateType. valueOf(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 and Description | 
|---|---|
| static UpdatedContainer | UpdatedContainer. newInstance(ContainerUpdateType updateType,
           Container container)Static Factory method. | 
| static UpdateContainerRequest | UpdateContainerRequest. newInstance(int version,
           ContainerId containerId,
           ContainerUpdateType updateType,
           Resource targetCapability,
           ExecutionType targetExecutionType) | 
| abstract void | UpdateContainerRequest. setContainerUpdateType(ContainerUpdateType updateType)Set the  ContainerUpdateTypeof the container. | 
| abstract void | UpdatedContainer. setUpdateType(ContainerUpdateType updateType)Set the  ContainerUpdateType. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.