Class CachingBlobStore
java.lang.Object
org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore
org.apache.jackrabbit.oak.plugins.blob.CachingBlobStore
- All Implemented Interfaces:
AutoCloseable,Cache.Backend<AbstractBlobStore.BlockId,,AbstractBlobStore.Data> BlobStore,GarbageCollectableBlobStore
A blob store with a cache.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore
AbstractBlobStore.BlockId, AbstractBlobStore.Data -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClear the cache.longMethods inherited from class org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore
clearInUse, close, deleteChunks, getBlobId, getBlobLength, getBlockSize, getBlockSizeMin, getInputStream, getReference, load, readBlob, resolveChunks, setBlockSize, setBlockSizeMin, setReferenceKey, setReferenceKeyEncoded, setReferenceKeyPlainText, setStatsCollector, startMark, sweep, writeBlob, writeBlob, writeBlobMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jackrabbit.oak.spi.blob.GarbageCollectableBlobStore
countDeleteChunks, getAllChunkIds
-
Field Details
-
MEM_CACHE_NAME
- See Also:
-
-
Constructor Details
-
CachingBlobStore
public CachingBlobStore(long cacheSize) -
CachingBlobStore
public CachingBlobStore()
-
-
Method Details
-
clearCache
public void clearCache()Description copied from interface:GarbageCollectableBlobStoreClear the cache. -
getBlobCacheSize
public long getBlobCacheSize() -
getCacheStats
-