Package com.hazelcast.config
Enum Class HotRestartClusterDataRecoveryPolicy
java.lang.Object
java.lang.Enum<HotRestartClusterDataRecoveryPolicy>
com.hazelcast.config.HotRestartClusterDataRecoveryPolicy
- All Implemented Interfaces:
Serializable
,Comparable<HotRestartClusterDataRecoveryPolicy>
,Constable
@Deprecated
public enum HotRestartClusterDataRecoveryPolicy
extends Enum<HotRestartClusterDataRecoveryPolicy>
Deprecated.
Specifies the policy that will be respected during hot restart cluster start
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Starts the cluster only when all expected nodes are present and correct.Deprecated.Starts the cluster with the largest group of members which have the same partition table version and successfully restored their data.Deprecated.Starts the cluster with the members which have most up-to-date partition table and successfully restored their data. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the enum constant of this class with the specified name.static HotRestartClusterDataRecoveryPolicy[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL_RECOVERY_ONLY
Deprecated.Starts the cluster only when all expected nodes are present and correct. Otherwise, it fails. -
PARTIAL_RECOVERY_MOST_RECENT
Deprecated.Starts the cluster with the members which have most up-to-date partition table and successfully restored their data. All other members will leave the cluster and force-start themselves. If no member restores its data successfully, cluster start fails. -
PARTIAL_RECOVERY_MOST_COMPLETE
Deprecated.Starts the cluster with the largest group of members which have the same partition table version and successfully restored their data. All other members will leave the cluster and force-start themselves. If no member restores its data successfully, cluster start fails.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
PersistenceClusterDataRecoveryPolicy