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()
The helper function of
dispose() which all subclasses of
RocksObject must implement to release their associated
C++ resource. |
getDefault, getThreadPoolQueueLen, setBackgroundThreads, setBackgroundThreads
disOwnNativeHandle, dispose, finalize, isInitialized, isOwningNativeHandle
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 void disposeInternal()
RocksObject
dispose()
which all subclasses of
RocksObject
must implement to release their associated
C++ resource.disposeInternal
in class RocksObject