public enum CheckpointWriteOrder extends Enum<CheckpointWriteOrder>
Enum Constant and Description |
---|
RANDOM
Pages are written in order provided by checkpoint pages collection iterator (which is basically a hashtable).
|
SEQUENTIAL
All checkpoint pages are collected into single list and sorted by page index.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable CheckpointWriteOrder |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static CheckpointWriteOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckpointWriteOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckpointWriteOrder RANDOM
public static final CheckpointWriteOrder SEQUENTIAL
public static CheckpointWriteOrder[] values()
for (CheckpointWriteOrder c : CheckpointWriteOrder.values()) System.out.println(c);
public static CheckpointWriteOrder 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 CheckpointWriteOrder fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019