| Package | Description |
|---|---|
| org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache. |
| Modifier and Type | Method and Description |
|---|---|
LruCachedBlock |
LruCachedBlockQueue.poll()
Returns The next element in this queue, or
null if the queue is empty. |
LruCachedBlock |
LruCachedBlockQueue.pollLast()
Returns The last element in this queue, or
null if the queue is empty. |
| Modifier and Type | Method and Description |
|---|---|
void |
LruCachedBlockQueue.add(LruCachedBlock cb)
Attempt to add the specified cached block to this queue.
|
int |
LruCachedBlock.compareTo(LruCachedBlock that) |
protected long |
LruBlockCache.evictBlock(LruCachedBlock block,
boolean evictedByEvictionProcess)
Evict the block, and it will be cached by the victim handler if exists && block may be
read again later
|
protected long |
LruAdaptiveBlockCache.evictBlock(LruCachedBlock block,
boolean evictedByEvictionProcess)
Evict the block, and it will be cached by the victim handler if exists && block may be
read again later
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.