Package org.rocksdb
Enum FlushReason
- java.lang.Object
-
- java.lang.Enum<FlushReason>
-
- org.rocksdb.FlushReason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FlushReason>
public enum FlushReason extends java.lang.Enum<FlushReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_COMPACTIONDELETE_FILESERROR_RECOVERYEXTERNAL_FILE_INGESTIONGET_LIVE_FILESMANUAL_COMPACTIONMANUAL_FLUSHOTHERSSHUTDOWNTESTWRITE_BUFFER_FULLWRITE_BUFFER_MANAGER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlushReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FlushReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 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 namejava.lang.NullPointerException- if the argument is null
-
-