public enum SplitBrainRecoveryPolicy extends Enum<SplitBrainRecoveryPolicy>
Enum Constant and Description |
---|
DISCARD_LEAST_CONSISTENT |
SUSPEND_PARTITION_PRIMARIES |
Modifier and Type | Method and Description |
---|---|
static SplitBrainRecoveryPolicy |
getEnum(String value) |
String |
toString() |
static SplitBrainRecoveryPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SplitBrainRecoveryPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplitBrainRecoveryPolicy DISCARD_LEAST_CONSISTENT
public static final SplitBrainRecoveryPolicy SUSPEND_PARTITION_PRIMARIES
public static SplitBrainRecoveryPolicy[] values()
for (SplitBrainRecoveryPolicy c : SplitBrainRecoveryPolicy.values()) System.out.println(c);
public static SplitBrainRecoveryPolicy 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 nullpublic static SplitBrainRecoveryPolicy getEnum(String value)
public String toString()
toString
in class Enum<SplitBrainRecoveryPolicy>
Copyright © GigaSpaces.