Enum Class StandbyNodeState
- All Implemented Interfaces:
Serializable,Comparable<StandbyNodeState>,Constable
Represents that type of cluster node that is in use
- Since:
- 6.2.2
- Version:
- 6.2.2
- Author:
- John Bresnahan
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe standby node has been paused and will not synchronize again until it is told to do so.The standby node has been told to pause while it was synchronizing.The standby node is active and in the middle of synchronizing with the cluster.The standby node is active and waiting for the window when it should sync. -
Method Summary
Modifier and TypeMethodDescriptionstatic StandbyNodeStateReturns the enum constant of this class with the specified name.static StandbyNodeState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WAITING
The standby node is active and waiting for the window when it should sync. -
SYNCING
The standby node is active and in the middle of synchronizing with the cluster. -
PAUSING
The standby node has been told to pause while it was synchronizing. Once synchronization completes the standby node will be PAUSED. -
PAUSED
The standby node has been paused and will not synchronize again until it is told to do so.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-