Package org.rocksdb
Class PersistentCache
java.lang.Object
org.rocksdb.AbstractNativeReference
org.rocksdb.AbstractImmutableNativeReference
org.rocksdb.RocksObject
org.rocksdb.PersistentCache
- All Implemented Interfaces:
AutoCloseable
Persistent cache for caching IO pages on a persistent medium. The
cache is specifically designed for persistent read cache.
-
Field Summary
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_ -
Constructor Summary
ConstructorsConstructorDescriptionPersistentCache(Env env, String path, long size, Logger logger, boolean optimizedForNvm) -
Method Summary
Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandleMethods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Constructor Details
-
PersistentCache
public PersistentCache(Env env, String path, long size, Logger logger, boolean optimizedForNvm) throws RocksDBException - Throws:
RocksDBException
-
-
Method Details
-
disposeInternal
protected final void disposeInternal(long handle) - Specified by:
disposeInternalin classRocksObject
-