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

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

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

    Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type NodeState
    Modifier and Type | Method and Description
    --- | ---
    `abstract EnumSet<NodeState>` | GetClusterNodesRequest.`getNodeStates()` The state to filter the cluster nodes with.

    Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type NodeState
    Modifier and Type | Method and Description
    --- | ---
    `static GetClusterNodesRequest` | GetClusterNodesRequest.`newInstance(EnumSet<NodeState> states)`
    `abstract void` | GetClusterNodesRequest.`setNodeStates(EnumSet<NodeState> states)` The state to filter the cluster nodes with.

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

    Methods in org.apache.hadoop.yarn.api.records that return NodeState
    Modifier and Type | Method and Description
    --- | ---
    `abstract NodeState` | NodeReport.`getNodeState()` Get the `NodeState` of the node.
    `static NodeState` | NodeState.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static NodeState[]` | NodeState.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.hadoop.yarn.api.records with parameters of type NodeState
    Modifier and Type | Method and Description
    --- | ---
    `static NodeReport` | NodeReport.`newInstance(NodeId nodeId, NodeState nodeState, String httpAddress, String rackName, Resource used, Resource capability, int numContainers, String healthReport, long lastHealthReportTime)`
    `static NodeReport` | NodeReport.`newInstance(NodeId nodeId, NodeState nodeState, String httpAddress, String rackName, Resource used, Resource capability, int numContainers, String healthReport, long lastHealthReportTime, Set<String> nodeLabels, Integer decommissioningTimeout, NodeUpdateType nodeUpdateType)`
    `abstract void` | NodeReport.`setNodeState(NodeState nodeState)`

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.