Package org.rocksdb
Class Cache
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Direct Known Subclasses:
ClockCache,LRUCache
public abstract class Cache extends RocksObject
-
-
Field Summary
-
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_
-
Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCache(long nativeHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetPinnedUsage()Returns the memory size for the entries being pinned in cache.longgetUsage()Returns the memory size for the entries residing in cache.-
Methods inherited from class org.rocksdb.RocksObject
disposeInternal, disposeInternal, getNativeHandle
-
Methods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Methods inherited from class org.rocksdb.AbstractNativeReference
dispose, finalize
-
-