Enum StandbyNodeState

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StandbyNodeState>

    public enum StandbyNodeState
    extends java.lang.Enum<StandbyNodeState>

    Represents that type of cluster node that is in use

    Since:
    6.2.2
    Version:
    6.2.2
    Author:
    John Bresnahan
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      PAUSED
      The standby node has been paused and will not synchronize again until it is told to do so.
      PAUSING
      The standby node has been told to pause while it was synchronizing.
      SYNCING
      The standby node is active and in the middle of synchronizing with the cluster.
      WAITING
      The standby node is active and waiting for the window when it should sync.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static StandbyNodeState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static StandbyNodeState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • WAITING

        public static final StandbyNodeState WAITING
        The standby node is active and waiting for the window when it should sync.
      • SYNCING

        public static final StandbyNodeState SYNCING
        The standby node is active and in the middle of synchronizing with the cluster.
      • PAUSING

        public static final StandbyNodeState PAUSING
        The standby node has been told to pause while it was synchronizing. Once synchronization completes the standby node will be PAUSED.
      • PAUSED

        public static final StandbyNodeState PAUSED
        The standby node has been paused and will not synchronize again until it is told to do so.
    • Method Detail

      • values

        public static StandbyNodeState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StandbyNodeState c : StandbyNodeState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StandbyNodeState valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null