Package org.rocksdb
Class RocksMemEnv
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class RocksMemEnv extends Env
Memory environment.
-
-
Field Summary
-
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_
-
Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_
-
-
Constructor Summary
Constructors Constructor Description RocksMemEnv()Deprecated.UseRocksMemEnv(Env).RocksMemEnv(Env baseEnv)Creates a new environment that stores its data in memory and delegates all non-file-storage tasks tobaseEnv.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddisposeInternal(long handle)-
Methods inherited from class org.rocksdb.Env
getBackgroundThreads, getDefault, getThreadList, getThreadPoolQueueLen, incBackgroundThreadsIfNeeded, lowerThreadPoolCPUPriority, lowerThreadPoolIOPriority, setBackgroundThreads, setBackgroundThreads
-
Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandle
-
Methods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Methods inherited from class org.rocksdb.AbstractNativeReference
dispose, finalize
-
-
-
-
Constructor Detail
-
RocksMemEnv
public RocksMemEnv(Env baseEnv)
Creates a new environment that stores its data in memory and delegates all non-file-storage tasks to
baseEnv.The caller must delete the result when it is no longer needed.
- Parameters:
baseEnv- the base environment, must remain live while the result is in use.
-
RocksMemEnv
@Deprecated public RocksMemEnv()
Deprecated.UseRocksMemEnv(Env).
-
-
Method Detail
-
disposeInternal
protected final void disposeInternal(long handle)
- Specified by:
disposeInternalin classRocksObject
-
-