NodeState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. NodeState
- com.
- com.
public final class NodeState
extends ExpandableStringEnum<NodeState>
The state of the node in Cassandra ring.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Node |
JOINING
Static value Joining for Node |
static final
Node |
LEAVING
Static value Leaving for Node |
static final
Node |
MOVING
Static value Moving for Node |
static final
Node |
NORMAL
Static value Normal for Node |
static final
Node |
STOPPED
Static value Stopped for Node |
Constructor Summary
Constructor | Description |
---|---|
NodeState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Node |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Node |
fromString(String name)
Creates or finds a Node |
static
Collection<Node |
values()
Gets known Node |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
JOINING
public static final NodeState JOINING
Static value Joining for NodeState.
LEAVING
public static final NodeState LEAVING
Static value Leaving for NodeState.
MOVING
public static final NodeState MOVING
Static value Moving for NodeState.
NORMAL
public static final NodeState NORMAL
Static value Normal for NodeState.
STOPPED
public static final NodeState STOPPED
Static value Stopped for NodeState.
Constructor Details
NodeState
@Deprecated
public NodeState()
Deprecated
Creates a new instance of NodeState value.
Method Details
fromString
public static NodeState fromString(String name)
Creates or finds a NodeState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known NodeState values.
Returns:
Applies to
Azure SDK for Java