public static enum RecoveryState.Stage extends 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 |
START
starting up the engine, potentially running checks
|
TRANSLOG
replaying the translog
|
Modifier and Type | Method and Description |
---|---|
static RecoveryState.Stage |
fromId(byte id) |
byte |
id() |
static RecoveryState.Stage |
valueOf(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 START
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(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 byte id()
public static RecoveryState.Stage fromId(byte id) throws ElasticsearchIllegalArgumentException
Copyright © 2009–2015. All rights reserved.