Package org.apache.hadoop.hbase.io.hfile.bucket
package org.apache.hadoop.hbase.io.hfile.bucket
-
ClassDescriptionThis class is used to allocate a block with specified size and free the block when evicting.Statistics to give a glimpse into the distribution of BucketCache objects.Thrown by
BucketAllocator
BucketCache usesBucketAllocator
to allocate/free blocks, and uses BucketCache#ramCache and BucketCache#backingMap in order to determine if a given element is in the cache.Wrapped the delegate ConcurrentMap with maintaining its block's reference count.Block Entry stored in the memory with key,data and so onClass that implements cache metrics for bucket cache.Item in cache.IO engine that stores data in memory using an array of ByteBuffersByteBufferArray
.A memory-bound queue that will grow until an element brings total size larger than maxSize.Thrown byBucketAllocator.allocateBlock(int)
when cache is full for the requested sizeIO engine that stores data to a file on the local block device using memory mapping mechanismIO engine that stores data to a file on the local file system.IO engine that stores data to a file on the specified file system using memory mapping mechanismA class implementing IOEngine interface supports data services forBucketCache
.A class implementing PersistentIOEngine interface supports file integrity verification forBucketCache
which use persistent IOEngineIO engine that stores data in pmem devices such as DCPMM.