|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectcom.ace.mws.nodes.NodeState
enum NodeState
This enumeration tracks the state of a node.
| Enum Constant Summary | |
|---|---|
BUSY
The node is running workload and cannot accept more. |
|
DOWN
The node is not available for workload. |
|
DRAINED
The node has been sent the drain request and has no workload on it. |
|
DRAINING
The node has been sent the drain request, but still has workload on it. |
|
FLUSH
The node is being reprovisioned. |
|
IDLE
The node is available for workload but is not running anything. |
|
NONE
The node is set to none by the resource manager. |
|
RESERVED
The node is being reserved. |
|
RUNNING
The node is running workload and can accept more. |
|
UNKNOWN
The state of the node is unknown. |
|
UP
The node is up, but the usage is being determined. |
|
| Field Summary | |
|---|---|
private String |
str
|
| Constructor Summary | |
private NodeState(String str)
|
|
| Method Summary | |
|---|---|
static NodeState
|
parseNodeStateString(String string)
Parses a string and translates it into a respective NodeState enum value. |
String
|
toString()
|
NodeState
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
NodeState[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Enum Constant Detail |
|---|
NodeState BUSY
NodeState DOWN
NodeState DRAINED
NodeState DRAINING
NodeState FLUSH
NodeState IDLE
NodeState NONE
NodeState RESERVED
NodeState RUNNING
NodeState UNKNOWN
NodeState UP
| Field Detail |
|---|
private String str
| Constructor Detail |
|---|
private NodeState(String str)
| Method Detail |
|---|
static NodeState parseNodeStateString(String string)
string
- the string to parse.
String toString()
NodeState valueOf(String name)
NodeState[] values()
Groovy Documentation