public enum WALMode extends Enum<WALMode>
Enum Constant and Description |
---|
BACKGROUND
Background mode.
|
DEFAULT
Deprecated.
This mode is no longer default and left here only for API compatibility. It is equivalent to the
FSYNC mode. |
FSYNC
FSYNC mode: full-sync disk writes.
|
LOG_ONLY
Log only mode: flushes application buffers.
|
NONE
WAL is disabled.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable 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 FSYNC
public static final WALMode LOG_ONLY
public static final WALMode BACKGROUND
public static final WALMode NONE
IgniteCluster.state(ClusterState)
method. If an Ignite node is terminated in NONE mode abruptly, it is likely
that the data stored on disk is corrupted and work directory will need to be cleared for a node restart.@Deprecated public static final WALMode DEFAULT
FSYNC
mode.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 @Nullable WALMode fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023