Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile.bucket |
Provides
BucketCache , an implementation of
BlockCache . |
Modifier and Type | Method and Description |
---|---|
void |
BucketAllocator.Bucket.addAllocation(long offset) |
long |
BucketAllocator.allocateBlock(int blockSize)
Allocate a block with specified size.
|
Constructor and Description |
---|
BucketAllocator(long availableSpace,
int[] bucketSizes) |
BucketAllocator(long availableSpace,
int[] bucketSizes,
Map<BlockCacheKey,BucketEntry> map,
LongAdder realCacheSize)
Rebuild the allocator's data structures from a persisted map.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.