| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract AMCommand | AllocateResponse. getAMCommand()If the  ResourceManagerneeds theApplicationMasterto take some action then it will send an
 AMCommand to theApplicationMaster. | 
| Modifier and Type | Method and Description | 
|---|---|
| AllocateResponse.AllocateResponseBuilder | AllocateResponse.AllocateResponseBuilder. amCommand(AMCommand amCommand)Set the  amCommandof the response. | 
| static AllocateResponse | AllocateResponse. newInstance(int responseId,
           List<ContainerStatus> completedContainers,
           List<Container> allocatedContainers,
           List<NodeReport> updatedNodes,
           Resource availResources,
           AMCommand command,
           int numClusterNodes,
           PreemptionMessage preempt,
           List<NMToken> nmTokens) | 
| static AllocateResponse | AllocateResponse. newInstance(int responseId,
           List<ContainerStatus> completedContainers,
           List<Container> allocatedContainers,
           List<NodeReport> updatedNodes,
           Resource availResources,
           AMCommand command,
           int numClusterNodes,
           PreemptionMessage preempt,
           List<NMToken> nmTokens,
           CollectorInfo collectorInfo) | 
| static AllocateResponse | AllocateResponse. newInstance(int responseId,
           List<ContainerStatus> completedContainers,
           List<Container> allocatedContainers,
           List<NodeReport> updatedNodes,
           Resource availResources,
           AMCommand command,
           int numClusterNodes,
           PreemptionMessage preempt,
           List<NMToken> nmTokens,
           Token amRMToken,
           List<UpdatedContainer> updatedContainers) | 
| static AllocateResponse | AllocateResponse. newInstance(int responseId,
           List<ContainerStatus> completedContainers,
           List<Container> allocatedContainers,
           List<NodeReport> updatedNodes,
           Resource availResources,
           AMCommand command,
           int numClusterNodes,
           PreemptionMessage preempt,
           List<NMToken> nmTokens,
           Token amRMToken,
           List<UpdatedContainer> updatedContainers,
           CollectorInfo collectorInfo) | 
| abstract void | AllocateResponse. setAMCommand(AMCommand command) | 
| Modifier and Type | Method and Description | 
|---|---|
| static AMCommand | AMCommand. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AMCommand[] | AMCommand. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.