public static enum EngineConfig.OpenMode extends java.lang.Enum<EngineConfig.OpenMode>
Engine.recoverFromTranslog()
Enum Constant and Description |
---|
CREATE_INDEX_AND_TRANSLOG |
OPEN_INDEX_AND_TRANSLOG |
OPEN_INDEX_CREATE_TRANSLOG |
Modifier and Type | Method and Description |
---|---|
static EngineConfig.OpenMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EngineConfig.OpenMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EngineConfig.OpenMode CREATE_INDEX_AND_TRANSLOG
public static final EngineConfig.OpenMode OPEN_INDEX_CREATE_TRANSLOG
public static final EngineConfig.OpenMode OPEN_INDEX_AND_TRANSLOG
public static EngineConfig.OpenMode[] values()
for (EngineConfig.OpenMode c : EngineConfig.OpenMode.values()) System.out.println(c);
public static EngineConfig.OpenMode 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