public enum HotRestartClusterDataRecoveryPolicy extends Enum<HotRestartClusterDataRecoveryPolicy>
Enum Constant and Description |
---|
FULL_RECOVERY_ONLY
Starts the cluster only when all expected nodes are present and correct.
|
PARTIAL_RECOVERY_MOST_COMPLETE
Starts the cluster with the largest group of members which have the same partition table version
and successfully restored their data.
|
PARTIAL_RECOVERY_MOST_RECENT
Starts the cluster with the members which have most up-to-date partition table and successfully restored their data.
|
Modifier and Type | Method and Description |
---|---|
static HotRestartClusterDataRecoveryPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HotRestartClusterDataRecoveryPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HotRestartClusterDataRecoveryPolicy FULL_RECOVERY_ONLY
public static final HotRestartClusterDataRecoveryPolicy PARTIAL_RECOVERY_MOST_RECENT
public static final HotRestartClusterDataRecoveryPolicy PARTIAL_RECOVERY_MOST_COMPLETE
public static HotRestartClusterDataRecoveryPolicy[] values()
for (HotRestartClusterDataRecoveryPolicy c : HotRestartClusterDataRecoveryPolicy.values()) System.out.println(c);
public static HotRestartClusterDataRecoveryPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.