public enum ThreadType extends Enum<ThreadType>
| Enum Constant and Description |
|---|
BOTTOM_PRIORITY
RocksDB BG thread in bottom-pri thread pool
|
HIGH_PRIORITY
RocksDB BG thread in high-pri thread pool.
|
LOW_PRIORITY
RocksDB BG thread in low-pri thread pool.
|
USER
User thread (Non-RocksDB BG thread).
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadType HIGH_PRIORITY
public static final ThreadType LOW_PRIORITY
public static final ThreadType USER
public static final ThreadType BOTTOM_PRIORITY
public static ThreadType[] values()
for (ThreadType c : ThreadType.values()) System.out.println(c);
public static ThreadType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.