Enum CheckpointState

    • 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 name
        NullPointerException - if the argument is null