| Package | Description |
|---|---|
| org.apache.hadoop.hbase.io.hfile.bucket |
Provides
BucketCache, an implementation of
BlockCache. |
| Modifier and Type | Method and Description |
|---|---|
BucketEntry |
BucketEntry.retain() |
| Modifier and Type | Method and Description |
|---|---|
Map<BlockCacheKey,BucketEntry> |
BucketCache.getBackingMap() |
Map.Entry<BlockCacheKey,BucketEntry> |
CachedEntryQueue.poll()
Returns The next element in this queue, or
null if the queue is empty. |
Map.Entry<BlockCacheKey,BucketEntry> |
CachedEntryQueue.pollLast()
Returns The last element in this queue, or
null if the queue is empty. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
BucketCache.putIntoBackingMap(BlockCacheKey key,
BucketEntry bucketEntry)
Put the new bucket entry into backingMap.
|
Cacheable |
SharedMemoryMmapIOEngine.read(BucketEntry be) |
Cacheable |
IOEngine.read(BucketEntry be)
Transfers data from IOEngine to a Cacheable object.
|
abstract Cacheable |
FileMmapIOEngine.read(BucketEntry be) |
Cacheable |
FileIOEngine.read(BucketEntry be)
Transfers data from file to the given byte buffer
|
Cacheable |
ExclusiveMemoryMmapIOEngine.read(BucketEntry be) |
Cacheable |
ByteBufferIOEngine.read(BucketEntry be) |
| Modifier and Type | Method and Description |
|---|---|
void |
CachedEntryQueue.add(Map.Entry<BlockCacheKey,BucketEntry> entry)
Attempt to add the specified entry to this queue.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.