@InterfaceAudience.Public @InterfaceStability.Stable public abstract class GetClusterNodesRequest extends Object
The request from clients to get a report of all nodes
in the cluster from the ResourceManager
.
NodeState
s.Constructor and Description |
---|
GetClusterNodesRequest() |
Modifier and Type | Method and Description |
---|---|
abstract EnumSet<NodeState> |
getNodeStates()
The state to filter the cluster nodes with.
|
static GetClusterNodesRequest |
newInstance() |
static GetClusterNodesRequest |
newInstance(EnumSet<NodeState> states) |
abstract void |
setNodeStates(EnumSet<NodeState> states)
The state to filter the cluster nodes with.
|
public GetClusterNodesRequest()
@InterfaceAudience.Public @InterfaceStability.Stable public static GetClusterNodesRequest newInstance(EnumSet<NodeState> states)
@InterfaceAudience.Public @InterfaceStability.Stable public static GetClusterNodesRequest newInstance()
public abstract EnumSet<NodeState> getNodeStates()
public abstract void setNodeStates(EnumSet<NodeState> states)
Copyright © 2016 Apache Software Foundation. All Rights Reserved.