Enum Class SpaceMode

java.lang.Object
java.lang.Enum<SpaceMode>
com.gigaspaces.cluster.activeelection.SpaceMode
All Implemented Interfaces:
Serializable, Comparable<SpaceMode>, java.lang.constant.Constable

public enum SpaceMode extends Enum<SpaceMode>
This enum provides the current space mode.
Since:
6.0
Version:
1.0
Author:
Igor Goldenberg
See Also:
  • Enum Constant Details

    • NONE

      public static final SpaceMode NONE
      The space mode is not identified.
    • BACKUP

      public static final SpaceMode BACKUP
      The space is running in backup mode.
    • PRIMARY

      public static final SpaceMode PRIMARY
      The space is running in primary mode.
  • Method Details

    • values

      public static SpaceMode[] 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 SpaceMode 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