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>

public final class NodeState extends com.azure.core.util.ExpandableStringEnum<NodeState>
The state of the node in Cassandra ring.
  • Field Details

    • NORMAL

      public static final NodeState NORMAL
      Static value Normal for NodeState.
    • LEAVING

      public static final NodeState LEAVING
      Static value Leaving for NodeState.
    • JOINING

      public static final NodeState JOINING
      Static value Joining for NodeState.
    • MOVING

      public static final NodeState MOVING
      Static value Moving for NodeState.
    • STOPPED

      public static final NodeState STOPPED
      Static value Stopped for NodeState.
  • Constructor Details

  • Method Details

    • fromString

      public static NodeState fromString(String name)
      Creates or finds a NodeState from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding NodeState.
    • values

      public static Collection<NodeState> values()
      Gets known NodeState values.
      Returns:
      known NodeState values.