Class IndexOnlyLruBlockCache

java.lang.Object
org.apache.hadoop.hbase.io.hfile.LruBlockCache
org.apache.hadoop.hbase.io.hfile.IndexOnlyLruBlockCache
All Implemented Interfaces:
Iterable<CachedBlock>, HeapSize, BlockCache, FirstLevelBlockCache, ResizableBlockCache

@Private public class IndexOnlyLruBlockCache extends LruBlockCache
An on heap block cache implementation extended LruBlockCache and only cache index block. This block cache should be only used by ClientSideRegionScanner that normally considers to be used by client resides out of the region server, e.g. a container of a map reduce job.
  • Constructor Details

    • IndexOnlyLruBlockCache

      public IndexOnlyLruBlockCache(long maxSize, long blockSize, boolean evictionThread, org.apache.hadoop.conf.Configuration conf)
  • Method Details