Package org.rocksdb

Enum Class FlushReason

java.lang.Object
java.lang.Enum<FlushReason>
org.rocksdb.FlushReason
All Implemented Interfaces:
Serializable, Comparable<FlushReason>, Constable

public enum FlushReason extends Enum<FlushReason>
  • Enum Constant Details

    • OTHERS

      public static final FlushReason OTHERS
    • GET_LIVE_FILES

      public static final FlushReason GET_LIVE_FILES
    • SHUTDOWN

      public static final FlushReason SHUTDOWN
    • 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
    • TEST

      public static final FlushReason TEST
    • 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 Details

    • values

      public static FlushReason[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FlushReason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null