| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract List<NMToken> | AllocateResponse. getNMTokens()Get the list of NMTokens required for communicating with NM. | 
| abstract List<NMToken> | RegisterApplicationMasterResponse. getNMTokensFromPreviousAttempts()Get the list of NMTokens for communicating with the NMs where the
 containers of previous application attempts are running. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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,
           Token amRMToken,
           List<UpdatedContainer> updatedContainers,
           CollectorInfo collectorInfo) | 
Copyright © 2023 Apache Software Foundation. All rights reserved.