Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
Modifier and Type | Field and Description |
---|---|
private Map<BlockCacheKey,LruCachedBlock> |
LruBlockCache.map
Concurrent map (the cache)
|
private org.apache.hbase.thirdparty.com.google.common.collect.MinMaxPriorityQueue<LruCachedBlock> |
LruCachedBlockQueue.queue |
Modifier and Type | Method and Description |
---|---|
LruCachedBlock |
LruCachedBlockQueue.poll() |
LruCachedBlock |
LruCachedBlockQueue.pollLast() |
Modifier and Type | Method and Description |
---|---|
(package private) Map<BlockCacheKey,LruCachedBlock> |
LruBlockCache.getMapForTests() |
Modifier and Type | Method and Description |
---|---|
void |
LruCachedBlockQueue.add(LruCachedBlock cb)
Attempt to add the specified cached block to this queue.
|
void |
LruBlockCache.BlockBucket.add(LruCachedBlock block) |
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
|
private 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–2019 The Apache Software Foundation. All rights reserved.