public class RocksMemEnv extends Env
COMPACTION_POOL, FLUSH_POOLnativeHandle_| 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, setBackgroundThreadsdisOwnNativeHandle, dispose, finalize, isInitialized, isOwningNativeHandlepublic 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()
RocksObjectdispose() which all subclasses of
RocksObject must implement to release their associated
C++ resource.disposeInternal in class RocksObject