Package com.hazelcast.core
Enum Class LifecycleEvent.LifecycleState
- All Implemented Interfaces:
Serializable
,Comparable<LifecycleEvent.LifecycleState>
,Constable
- Enclosing class:
- LifecycleEvent
Lifecycle states
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFired when a client is connected to a new cluster.Fired when a client is connected to the cluster.Fired when a client is disconnected from the cluster.Fired when the merge process failed for some reason.Fired when the merge process was successful and all data has been merged.Fired on each cluster member just before the start of a merge process into another cluster.Fired when the member shut down is completed.Fired when the member is shutting down.Fired when the member start is completed.Fired when the member is starting. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static LifecycleEvent.LifecycleState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STARTING
Fired when the member is starting. -
STARTED
Fired when the member start is completed. -
SHUTTING_DOWN
Fired when the member is shutting down. -
SHUTDOWN
Fired when the member shut down is completed. -
MERGING
Fired on each cluster member just before the start of a merge process into another cluster. This is typically used when a split-brain situation is healed. -
MERGED
Fired when the merge process was successful and all data has been merged. -
MERGE_FAILED
Fired when the merge process failed for some reason. -
CLIENT_CONNECTED
Fired when a client is connected to the cluster. -
CLIENT_DISCONNECTED
Fired when a client is disconnected from the cluster. -
CLIENT_CHANGED_CLUSTER
Fired when a client is connected to a new cluster.
-
-
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
-