| Package | Description |
|---|---|
| org.rocksdb |
The RocksDB Java driver
|
| Modifier and Type | Method and Description |
|---|---|
static Priority |
Priority.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
Priority.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Env.getBackgroundThreads(Priority priority)
Gets the number of background worker threads of the pool
for this environment.
|
int |
Env.getThreadPoolQueueLen(Priority priority)
Returns the length of the queue associated with the specified
thread pool.
|
Env |
Env.incBackgroundThreadsIfNeeded(int number,
Priority priority)
Enlarge number of background worker threads of a specific thread pool
for this environment if it is smaller than specified.
|
Env |
Env.lowerThreadPoolCPUPriority(Priority priority)
Lower CPU priority for threads from the specified pool.
|
Env |
Env.lowerThreadPoolIOPriority(Priority priority)
Lower IO priority for threads from the specified pool.
|
Env |
Env.setBackgroundThreads(int number,
Priority priority)
Sets the number of background worker threads of the specified thread
pool for this environment.
|
Copyright © 2022. All rights reserved.