Enum CheckpointState
- java.lang.Object
-
- java.lang.Enum<CheckpointState>
-
- org.apache.ignite.internal.processors.cache.persistence.CheckpointState
-
- All Implemented Interfaces:
Serializable,Comparable<CheckpointState>
public enum CheckpointState extends Enum<CheckpointState>
Possible checkpoint states. Ordinal is important. Every next state follows the previous one.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FINISHEDCheckpoint was finished.LOCK_RELEASEDCheckpoint counted the pages and write lock was released.LOCK_TAKENCheckpoint was awakened and it is preparing to start.MARKER_STORED_TO_DISKCheckpoint marker was stored to disk.PAGE_SNAPSHOT_TAKENDirty pages snapshot has been taken.SCHEDULEDCheckpoint is waiting to execution.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CheckpointStatevalueOf(String name)Returns the enum constant of this type with the specified name.static CheckpointState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCHEDULED
public static final CheckpointState SCHEDULED
Checkpoint is waiting to execution.
-
LOCK_TAKEN
public static final CheckpointState LOCK_TAKEN
Checkpoint was awakened and it is preparing to start.
-
PAGE_SNAPSHOT_TAKEN
public static final CheckpointState PAGE_SNAPSHOT_TAKEN
Dirty pages snapshot has been taken.
-
LOCK_RELEASED
public static final CheckpointState LOCK_RELEASED
Checkpoint counted the pages and write lock was released.
-
MARKER_STORED_TO_DISK
public static final CheckpointState MARKER_STORED_TO_DISK
Checkpoint marker was stored to disk.
-
FINISHED
public static final CheckpointState FINISHED
Checkpoint was finished.
-
-
Method Detail
-
values
public static CheckpointState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CheckpointState c : CheckpointState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckpointState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-