@InterfaceAudience.Private public class IndexOnlyLruBlockCache extends LruBlockCache
ClientSideRegionScanner
that normally considers to be used by client resides out of the region server, e.g. a container
of a map reduce job.CACHE_FIXED_OVERHEAD| Constructor and Description |
|---|
IndexOnlyLruBlockCache(long maxSize,
long blockSize,
boolean evictionThread,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Cache only index block with the specified name and buffer
|
cacheBlock, clearCache, containsBlock, evictBlock, evictBlock, evictBlocksByHfileName, getBlock, getBlockCaches, getBlockCount, getBloomBlockCount, getCurrentBloomSize, getCurrentDataSize, getCurrentIndexSize, getCurrentSize, getDataBlockCount, getEncodingCountsForTest, getFreeSize, getIndexBlockCount, getMaxSize, getStats, heapSize, iterator, logStats, setMaxSize, setVictimCache, shutdown, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcacheBlock, isMetaBlockforEach, spliteratorpublic IndexOnlyLruBlockCache(long maxSize,
long blockSize,
boolean evictionThread,
org.apache.hadoop.conf.Configuration conf)
public void cacheBlock(BlockCacheKey cacheKey, Cacheable buf, boolean inMemory)
cacheBlock in interface BlockCachecacheBlock in class LruBlockCachecacheKey - block's cache keybuf - block bufferinMemory - if block is in-memoryCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.