public enum SnapshotOperationType extends Enum<SnapshotOperationType>
Enum Constant and Description |
---|
CHECK
Check snapshot operation.
|
CONFIGURABLE
Custom configurable operation.
|
CONSISTENT_CUT
Consistent cut snapshot operation.
|
COPY
Copy snapshot operation.
|
CREATE
Create snapshot operation.
|
DELETE
Delete snapshot operation.
|
MOVE
Move snapshot operation.
|
RECOVERY
Recovery snapshot operation.
|
REPLICATION_RECOVERY
Replication state change snapshot operation.
|
REPLICATION_STATE_CHANGE
Replication state change snapshot operation.
|
RESTORE
Restore snapshot operation.
|
TEST
Test snapshot operation.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable SnapshotOperationType |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
boolean |
isExclusiveOperation()
Checking if the operation is exclusive, i.e. cannot run in parallel with others.
|
static SnapshotOperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotOperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotOperationType CREATE
public static final SnapshotOperationType RESTORE
public static final SnapshotOperationType MOVE
public static final SnapshotOperationType DELETE
public static final SnapshotOperationType CHECK
public static final SnapshotOperationType RECOVERY
public static final SnapshotOperationType COPY
public static final SnapshotOperationType TEST
public static final SnapshotOperationType CONSISTENT_CUT
public static final SnapshotOperationType REPLICATION_STATE_CHANGE
public static final SnapshotOperationType REPLICATION_RECOVERY
public static final SnapshotOperationType CONFIGURABLE
public static SnapshotOperationType[] values()
for (SnapshotOperationType c : SnapshotOperationType.values()) System.out.println(c);
public static SnapshotOperationType 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 nullpublic boolean isExclusiveOperation()
True
If exclusive.@Nullable public static @Nullable SnapshotOperationType fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025