public enum SnapshotChainMode extends Enum<SnapshotChainMode>
Enum Constant and Description |
---|
DEFAULT
Default behaviour for operation.
|
FROM_CURRENT_TO_LAST
Will touch all snapshots between current and last one.
|
FROM_ROOT_TO_CURRENT
Will touch all snapshots between root and current snapshot.
|
SINGLE
Touch and work only with certain snapshot.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable SnapshotChainMode |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static SnapshotChainMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotChainMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotChainMode DEFAULT
public static final SnapshotChainMode SINGLE
public static final SnapshotChainMode FROM_ROOT_TO_CURRENT
public static final SnapshotChainMode FROM_CURRENT_TO_LAST
public static SnapshotChainMode[] values()
for (SnapshotChainMode c : SnapshotChainMode.values()) System.out.println(c);
public static SnapshotChainMode 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 SnapshotChainMode fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024