public static enum RecoveryOptions.RecoveryPolicy extends java.lang.Enum<RecoveryOptions.RecoveryPolicy>
Enum Constant and Description |
---|
DATA_LOSS
Recover will proceed with potentially not all data being loaded.
|
EXACT_CLUSTER
Recovery will proceed only if exact cluster members are available
If the cluster members are not same as they were before shutdown, recovery will throw exception
|
FAST_LOAD_ONLY
Recovery will proceed only if exact cluster members are available
If the cluster members are not same as they were before shutdown, recovery will throw exception
|
FORCE_LOAD
Recover will proceed with potentially not all data being loaded.
|
NO_DATA
Do not recover any data
|
NO_DATA_LOSS
Recovery will proceed only if there are enough seeders since last shutdown to recover the data properly
If there is replication degree of 1, user can afford not bringing one of the seeders.
|
ROBUST_LOAD_ONLY
Recovery will proceed only if there are enough seeders since last shutdown to recover the data properly
If there is replication degree of 1, user can afford not bringing one of the seeders.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static RecoveryOptions.RecoveryPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryOptions.RecoveryPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryOptions.RecoveryPolicy NO_DATA
public static final RecoveryOptions.RecoveryPolicy DATA_LOSS
public static final RecoveryOptions.RecoveryPolicy NO_DATA_LOSS
public static final RecoveryOptions.RecoveryPolicy FAST_LOAD_ONLY
public static final RecoveryOptions.RecoveryPolicy EXACT_CLUSTER
public static final RecoveryOptions.RecoveryPolicy ROBUST_LOAD_ONLY
public static final RecoveryOptions.RecoveryPolicy FORCE_LOAD
public static RecoveryOptions.RecoveryPolicy[] values()
for (RecoveryOptions.RecoveryPolicy c : RecoveryOptions.RecoveryPolicy.values()) System.out.println(c);
public static RecoveryOptions.RecoveryPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.