public static enum RecoveryState.Stage extends java.lang.Enum<RecoveryState.Stage>
Enum Constant and Description |
---|
DONE |
FINALIZE
performing final task after all translog ops have been done
|
INDEX
recovery of lucene files, either reusing local ones are copying new ones
|
INIT |
TRANSLOG
starting up the engine, replaying the translog
|
VERIFY_INDEX
potentially running check index
|
Modifier and Type | Method and Description |
---|---|
static RecoveryState.Stage |
fromId(byte id) |
byte |
id() |
static RecoveryState.Stage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RecoveryState.Stage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecoveryState.Stage INIT
public static final RecoveryState.Stage INDEX
public static final RecoveryState.Stage VERIFY_INDEX
public static final RecoveryState.Stage TRANSLOG
public static final RecoveryState.Stage FINALIZE
public static final RecoveryState.Stage DONE
public static RecoveryState.Stage[] values()
for (RecoveryState.Stage c : RecoveryState.Stage.values()) System.out.println(c);
public static RecoveryState.Stage 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 byte id()
public static RecoveryState.Stage fromId(byte id)