public class RocksMemEnv extends Env
COMPACTION_POOL, FLUSH_POOL
nativeHandle_
Constructor and Description |
---|
RocksMemEnv()
Creates a new RocksDB environment that stores its data
in memory and delegates all non-file-storage tasks to
base_env.
|
Modifier and Type | Method and Description |
---|---|
protected void |
disposeInternal(long handle) |
getDefault, getThreadPoolQueueLen, setBackgroundThreads, setBackgroundThreads
disposeInternal
close, disOwnNativeHandle, isOwningHandle
dispose, finalize
public RocksMemEnv()
Creates a new RocksDB environment that stores its data in memory and delegates all non-file-storage tasks to base_env. The caller must delete the result when it is no longer needed.
*base_env
must remain live while the result is in use.
protected final void disposeInternal(long handle)
disposeInternal
in class RocksObject