Package org.apache.accumulo.core.file.blockfile.cache
-
Interface Summary Interface Description BlockCache Block cache interface.CacheEntry HeapSize Implementations can be asked for an estimate of their size in bytes. -
Class Summary Class Description CachedBlock Represents an entry in theLruBlockCache
.CachedBlockQueue A memory-bound queue that will grow until an element brings total size >= maxSize.ClassSize Class for determining the "size" of a class, an attempt to calculate the actual bytes that an object of this class will occupy in memory The core of this class is taken from the Derby projectLruBlockCache 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 SizeConstants -
Enum Summary Enum Description LruBlockCache.Options