Package org.rocksdb

Enum FlushReason

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

    public enum FlushReason
    extends java.lang.Enum<FlushReason>
    • Enum Constant Detail

      • GET_LIVE_FILES

        public static final FlushReason GET_LIVE_FILES
      • EXTERNAL_FILE_INGESTION

        public static final FlushReason EXTERNAL_FILE_INGESTION
      • MANUAL_COMPACTION

        public static final FlushReason MANUAL_COMPACTION
      • WRITE_BUFFER_MANAGER

        public static final FlushReason WRITE_BUFFER_MANAGER
      • WRITE_BUFFER_FULL

        public static final FlushReason WRITE_BUFFER_FULL
      • DELETE_FILES

        public static final FlushReason DELETE_FILES
      • AUTO_COMPACTION

        public static final FlushReason AUTO_COMPACTION
      • MANUAL_FLUSH

        public static final FlushReason MANUAL_FLUSH
      • ERROR_RECOVERY

        public static final FlushReason ERROR_RECOVERY
    • Method Detail

      • values

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

        public static FlushReason 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