public enum WALMode extends Enum<WALMode>
| Enum Constant and Description |
|---|
BACKGROUND
Background mode.
|
DEFAULT
Default mode: full-sync disk writes.
|
LOG_ONLY
Log only mode: flushes application buffers.
|
NONE
WAL disabled.
|
| Modifier and Type | Method and Description |
|---|---|
static WALMode |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static WALMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WALMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WALMode DEFAULT
public static final WALMode LOG_ONLY
public static final WALMode BACKGROUND
public static final WALMode NONE
public static WALMode[] values()
for (WALMode c : WALMode.values()) System.out.println(c);
public static WALMode 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 null@Nullable public static WALMode fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017