public enum PersistenceClusterDataRecoveryPolicy extends Enum<PersistenceClusterDataRecoveryPolicy>
| Enum Constant and Description | 
|---|
| FULL_RECOVERY_ONLYStarts the cluster only when all expected nodes are present and correct. | 
| PARTIAL_RECOVERY_MOST_COMPLETEStarts the cluster with the largest group of members which have the same partition table version
 and successfully restored their data. | 
| PARTIAL_RECOVERY_MOST_RECENTStarts 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 PersistenceClusterDataRecoveryPolicy | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static PersistenceClusterDataRecoveryPolicy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PersistenceClusterDataRecoveryPolicy FULL_RECOVERY_ONLY
public static final PersistenceClusterDataRecoveryPolicy PARTIAL_RECOVERY_MOST_RECENT
public static final PersistenceClusterDataRecoveryPolicy PARTIAL_RECOVERY_MOST_COMPLETE
public static PersistenceClusterDataRecoveryPolicy[] values()
for (PersistenceClusterDataRecoveryPolicy c : PersistenceClusterDataRecoveryPolicy.values()) System.out.println(c);
public static PersistenceClusterDataRecoveryPolicy 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 © 2023 Hazelcast, Inc.. All rights reserved.