public abstract class CachingBlobStore extends org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore
org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore.BlockId, org.apache.jackrabbit.oak.spi.blob.AbstractBlobStore.Data| Modifier and Type | Field and Description |
|---|---|
protected long |
blobCacheSize |
protected org.apache.jackrabbit.oak.cache.CacheLIRS<String,byte[]> |
cache |
protected static long |
DEFAULT_CACHE_SIZE |
static String |
MEM_CACHE_NAME |
BLOCK_SIZE_LIMIT, HASH_ALGORITHM, inUse, TYPE_DATA, TYPE_HASH| Constructor and Description |
|---|
CachingBlobStore() |
CachingBlobStore(long cacheSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
long |
getBlobCacheSize() |
org.apache.jackrabbit.oak.cache.CacheStats |
getCacheStats() |
clearInUse, deleteChunks, getBlobId, getBlobLength, getBlockSize, getBlockSizeMin, getInputStream, getOrCreateReferenceKey, getReference, getStatsCollector, isMarkEnabled, load, mark, mark, markInUse, readBlob, readBlockFromBackend, resolveChunks, setBlockSize, setBlockSizeMin, setReferenceKey, setReferenceKeyEncoded, setReferenceKeyPlainText, setStatsCollector, startMark, storeBlock, sweep, usesBlobId, writeBlob, writeBlob, writeBlobclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountDeleteChunks, getAllChunkIdsprotected static final long DEFAULT_CACHE_SIZE
protected final org.apache.jackrabbit.oak.cache.CacheLIRS<String,byte[]> cache
protected final long blobCacheSize
public static final String MEM_CACHE_NAME
public CachingBlobStore(long cacheSize)
public CachingBlobStore()
public void clearCache()
public long getBlobCacheSize()
public org.apache.jackrabbit.oak.cache.CacheStats getCacheStats()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.