Class LruCachedBlock

java.lang.Object
org.apache.hadoop.hbase.io.hfile.LruCachedBlock
All Implemented Interfaces:
Comparable<LruCachedBlock>, HeapSize

@Private public class LruCachedBlock extends Object implements HeapSize, Comparable<LruCachedBlock>
Represents an entry in the LruBlockCache.

Makes the block memory-aware with HeapSize and Comparable to sort by access time for the LRU. It also takes care of priority by either instantiating as in-memory or handling the transition from single to multiple access.