Uses of Class
org.apache.hadoop.hbase.io.hfile.LruCachedBlock
Package
Description
Provides implementations of
HFile
and HFile
BlockCache
.-
Uses of org.apache.hadoop.hbase.io.hfile.LruCachedBlock in org.apache.hadoop.hbase.io.hfile
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.LruCachedBlock
LruCachedBlockQueue.poll()
Returns The next element in this queue, ornull
if the queue is empty.org.apache.hadoop.hbase.io.hfile.LruCachedBlock
LruCachedBlockQueue.pollLast()
Returns The last element in this queue, ornull
if the queue is empty.Modifier and TypeMethodDescriptionvoid
LruCachedBlockQueue.add
(org.apache.hadoop.hbase.io.hfile.LruCachedBlock cb) Attempt to add the specified cached block to this queue.int
LruCachedBlock.compareTo
(org.apache.hadoop.hbase.io.hfile.LruCachedBlock that) protected long
LruAdaptiveBlockCache.evictBlock
(org.apache.hadoop.hbase.io.hfile.LruCachedBlock block, boolean evictedByEvictionProcess) Evict the block, and it will be cached by the victim handler if exists && block may be read again laterprotected long
LruBlockCache.evictBlock
(org.apache.hadoop.hbase.io.hfile.LruCachedBlock block, boolean evictedByEvictionProcess) Evict the block, and it will be cached by the victim handler if exists && block may be read again later