public enum NodeState extends Enum<NodeState>
Node
can be in.Enum Constant and Description |
---|
CONNECTED
This
Node has all services connected. |
CONNECTING
This
Node has all services connecting. |
DEGRADED
This
Node has at least one service connected. |
DISCONNECTED
This
Node is disconnected (has services and all are disconnected) |
DISCONNECTING
This
Node has all services disconnecting. |
IDLE
This
Node is idle (no services attached at all or all of them idle) |
Modifier and Type | Method and Description |
---|---|
static NodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeState IDLE
Node
is idle (no services attached at all or all of them idle)public static final NodeState DISCONNECTED
Node
is disconnected (has services and all are disconnected)public static NodeState[] values()
for (NodeState c : NodeState.values()) System.out.println(c);
public static NodeState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020 Couchbase, Inc.. All rights reserved.