Package org.rocksdb
Class TimedEnv
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class TimedEnv extends Env
Timed environment.
-
-
Field Summary
-
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_
-
Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_
-
-
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
-
TimedEnv
public TimedEnv(Env baseEnv)
Creates a new environment that measures function call times for filesystem operations, reporting results to variables in PerfContext.
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.
-
-
Method Detail
-
disposeInternal
protected final void disposeInternal(long handle)
- Specified by:
disposeInternalin classRocksObject
-
-