Package org.rocksdb

Enum OperationStage

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<OperationStage>

    public enum OperationStage
    extends java.lang.Enum<OperationStage>
    The operation stage.
    • Enum Constant Detail

      • STAGE_FLUSH_WRITE_L0

        public static final OperationStage STAGE_FLUSH_WRITE_L0
      • STAGE_COMPACTION_PREPARE

        public static final OperationStage STAGE_COMPACTION_PREPARE
      • STAGE_COMPACTION_RUN

        public static final OperationStage STAGE_COMPACTION_RUN
      • STAGE_COMPACTION_PROCESS_KV

        public static final OperationStage STAGE_COMPACTION_PROCESS_KV
      • STAGE_COMPACTION_INSTALL

        public static final OperationStage STAGE_COMPACTION_INSTALL
      • STAGE_COMPACTION_SYNC_FILE

        public static final OperationStage STAGE_COMPACTION_SYNC_FILE
      • STAGE_PICK_MEMTABLES_TO_FLUSH

        public static final OperationStage STAGE_PICK_MEMTABLES_TO_FLUSH
      • STAGE_MEMTABLE_ROLLBACK

        public static final OperationStage STAGE_MEMTABLE_ROLLBACK
      • STAGE_MEMTABLE_INSTALL_FLUSH_RESULTS

        public static final OperationStage STAGE_MEMTABLE_INSTALL_FLUSH_RESULTS
    • Method Detail

      • values

        public static OperationStage[] 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 (OperationStage c : OperationStage.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OperationStage valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null