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.
|
private void |
BucketCache.retrieveFromFile(int[] bucketSizes) |
BucketCache.BucketEntry |
BucketCache.RAMQueueEntry.writeToCache(IOEngine ioEngine,
BucketAllocator bucketAllocator,
UniqueIndexMap<Integer> deserialiserMap,
AtomicLong realCacheSize) |
Constructor and Description |
---|
BucketAllocator(long availableSpace,
int[] bucketSizes) |
BucketAllocator(long availableSpace,
int[] bucketSizes,
Map<BlockCacheKey,BucketCache.BucketEntry> map,
AtomicLong realCacheSize)
Rebuild the allocator's data structures from a persisted map.
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.