Class NodeState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<NodeState>
com.azure.resourcemanager.cosmos.models.NodeState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The state of the node in Cassandra ring.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NodeState
Static value Joining for NodeState.static final NodeState
Static value Leaving for NodeState.static final NodeState
Static value Moving for NodeState.static final NodeState
Static value Normal for NodeState.static final NodeState
Static value Stopped for NodeState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeState
fromString
(String name) Creates or finds a NodeState from its string representation.static Collection
<NodeState> values()
Gets known NodeState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NORMAL
Static value Normal for NodeState. -
LEAVING
Static value Leaving for NodeState. -
JOINING
Static value Joining for NodeState. -
MOVING
Static value Moving for NodeState. -
STOPPED
Static value Stopped for NodeState.
-
-
Constructor Details
-
NodeState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of NodeState value.
-
-
Method Details
-
fromString
Creates or finds a NodeState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding NodeState.
-
values
Gets known NodeState values.- Returns:
- known NodeState values.
-
fromString(String)
factory method.