Package org.apache.accumulo.core.file.blockfile.cache.lru
-
Interface Summary Interface Description HeapSize Implementations can be asked for an estimate of their size in bytes. -
Class Summary Class Description CachedBlock Represents an entry in the configurable block cache.CachedBlockQueue A memory-bound queue that will grow until an element brings total size >= maxSize.LruBlockCache A block cache implementation that is memory-aware usingHeapSize
, memory-bound using an LRU eviction algorithm, and concurrent: backed by aConcurrentHashMap
and with a non-blocking eviction thread giving constant-timeLruBlockCache.cacheBlock(java.lang.String, byte[], boolean)
andLruBlockCache.getBlock(java.lang.String)
operations.LruBlockCache.CacheStats LruBlockCacheConfiguration LruBlockCacheConfiguration.Builder LruBlockCacheManager SynchronousLoadingBlockCache This class implements loading in such a way that load operations for the same block will not run concurrently. -
Enum Summary Enum Description CachedBlock.BlockPriority