Class BucketCache.BucketEntryGroup
java.lang.Object
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntryGroup
- Enclosing class:
- BucketCache
Used to group bucket entries into priority buckets. There will be a BucketEntryGroup for each
priority (single, multi, memory). Once bucketed, the eviction algorithm takes the appropriate
number of elements out of each according to configuration parameters and their relative sizes.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(Map.Entry<BlockCacheKey, BucketEntry> block) long
free
(long toFree) long
overflow()
long
-
Field Details
-
queue
-
totalSize
-
bucketSize
-
-
Constructor Details
-
BucketEntryGroup
-
-
Method Details
-
add
-
free
-
overflow
-
totalSize
-