Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
Modifier and Type | Method and Description |
---|---|
LruCachedBlock |
LruCachedBlockQueue.poll() |
LruCachedBlock |
LruCachedBlockQueue.pollLast() |
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 |
LruBlockCache.updateSizeMetrics(LruCachedBlock cb,
boolean evict)
Helper function that updates the local size counter and also updates any
per-cf or per-blocktype metrics it can discern from given
LruCachedBlock |
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.