Enum Class SimpleStrategyMBean.HAStatus

java.lang.Object
java.lang.Enum<SimpleStrategyMBean.HAStatus>
com.tangosol.net.partition.SimpleStrategyMBean.HAStatus
All Implemented Interfaces:
Serializable, Comparable<SimpleStrategyMBean.HAStatus>, Constable
Enclosing interface:
SimpleStrategyMBean

public static enum SimpleStrategyMBean.HAStatus extends Enum<SimpleStrategyMBean.HAStatus>
HAStatus represents the possible values to represent the High Availability Status of the associated PartitionedService. This status represents the strength (and therefore safety) of the weakest partition for the associated PartitionedService.
Since:
12.2.1.4.0
  • Enum Constant Details

    • ORPHANED

      public static final SimpleStrategyMBean.HAStatus ORPHANED
      A partition is orphaned when there are no storage-enabled member of the service that holds a primary copy of that partition. A PartitionedService that has one or more orphaned partitions is in an orphaned HA state.
    • ENDANGERED

      public static final SimpleStrategyMBean.HAStatus ENDANGERED
      Loss of a cluster node that runs a PartitionedService may cause data loss.
    • NODE_SAFE

      public static final SimpleStrategyMBean.HAStatus NODE_SAFE
      Any cluster member could be stopped without data loss.
    • MACHINE_SAFE

      public static final SimpleStrategyMBean.HAStatus MACHINE_SAFE
      The cluster nodes running on a machine can be stopped simultaneously without any data loss.
    • RACK_SAFE

      public static final SimpleStrategyMBean.HAStatus RACK_SAFE
      The cluster nodes running on a rack can be stopped simultaneously without any data loss.
    • SITE_SAFE

      public static final SimpleStrategyMBean.HAStatus SITE_SAFE
      The cluster nodes running at a site can be stopped simultaneously without any data loss.
  • Method Details

    • values

      public static SimpleStrategyMBean.HAStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SimpleStrategyMBean.HAStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
      Return the integer representation of the HAStatus.
      Returns:
      an integer representation of the HAStatus