Uses of Enum Class org.apache.hadoop.yarn.api.records.AMCommand (Apache Hadoop YARN API 3.5.0 API)
Description: use: package: org.apache.hadoop.yarn.api.records, enum: AMCommand

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

Packages that use AMCommand
Package
Description
org.apache.hadoop.yarn.api.protocolrecords
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.yarn.api.records
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

- ## 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
  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
  Description
  `AllocateResponse.AllocateResponseBuilder`
  AllocateResponse.AllocateResponseBuilder.`amCommand(AMCommand amCommand)`
  Set the `amCommand` of 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)`
  `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, EnhancedHeadroom enhancedHeadroom)`
  `abstract void`
  AllocateResponse.`setAMCommand(AMCommand command)`

- ## 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
  Description
  `static AMCommand`
  AMCommand.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static AMCommand[]`
  AMCommand.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.