## Uses of Class
org.apache.hadoop.yarn.api.records.AMCommand

- Packages that use AMCommand
  Package | Description
  --- | ---
  org.apache.hadoop.yarn.api.protocolrecords |
  org.apache.hadoop.yarn.api.records |

- - ### Uses of AMCommand in org.apache.hadoop.yarn.api.protocolrecords

    Methods in org.apache.hadoop.yarn.api.protocolrecords that return AMCommand
    Modifier and Type | Method and Description
    --- | ---
    `abstract AMCommand` | AllocateResponse.`getAMCommand()` If the `ResourceManager` needs the `ApplicationMaster` to take some action then it will send an AMCommand to the `ApplicationMaster`.

    Methods in org.apache.hadoop.yarn.api.protocolrecords with parameters of type AMCommand
    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)`

  - ### Uses of AMCommand in org.apache.hadoop.yarn.api.records

    Methods in org.apache.hadoop.yarn.api.records that return AMCommand
    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 © 2022 Apache Software Foundation. All rights reserved.