public enum RecoveryMode extends java.lang.Enum<RecoveryMode>
Enum Constant and Description |
---|
Automatic
Master automatically becomes the responsible node when it comes up.
|
Manual
The master only assumes responsibility when the user indicates it should.
|
Modifier and Type | Method and Description |
---|---|
static RecoveryMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryMode Automatic
public static final RecoveryMode Manual
public static RecoveryMode[] values()
for (RecoveryMode c : RecoveryMode.values()) System.out.println(c);
public static RecoveryMode 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 null