@InterfaceAudience.Private public interface FirstLevelBlockCache extends ResizableBlockCache, HeapSize
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsBlock(BlockCacheKey cacheKey)
Whether the cache contains the block with specified cacheKey
|
void |
setVictimCache(BlockCache victimCache)
Specifies the secondary cache.
|
setMaxSizecacheBlock, cacheBlock, evictBlock, evictBlocksByHfileName, getBlock, getBlockCaches, getBlockCount, getCurrentDataSize, getCurrentSize, getDataBlockCount, getFreeSize, getMaxSize, getStats, iterator, shutdown, sizeforEach, spliteratorboolean containsBlock(BlockCacheKey cacheKey)
cacheKey - cache key for the blockvoid setVictimCache(BlockCache victimCache)
victimCache - the second level cacheIllegalArgumentException - if the victim cache had already been setCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.