Package org.apache.hadoop.hbase.io.hfile
Interface ResizableBlockCache
- All Superinterfaces:
BlockCache
,Iterable<CachedBlock>
- All Known Subinterfaces:
FirstLevelBlockCache
- All Known Implementing Classes:
CombinedBlockCache
,InclusiveCombinedBlockCache
,IndexOnlyLruBlockCache
,LruAdaptiveBlockCache
,LruBlockCache
,TinyLfuBlockCache
BlockCache which is resizable.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setMaxSize
(long size) Sets the max heap size that can be used by the BlockCache.Methods inherited from interface org.apache.hadoop.hbase.io.hfile.BlockCache
blockFitsIntoTheCache, cacheBlock, cacheBlock, cacheBlock, evictBlock, evictBlocksByHfileName, evictBlocksRangeByHfileName, getBlock, getBlock, getBlockCaches, getBlockCount, getBlockSize, getCurrentDataSize, getCurrentSize, getDataBlockCount, getFreeSize, getFullyCachedFiles, getMaxSize, getRegionCachedInfo, getStats, isAlreadyCached, isCacheEnabled, isMetaBlock, iterator, notifyFileCachingCompleted, shouldCacheFile, shutdown, size, waitForCacheInitialization
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
setMaxSize
Sets the max heap size that can be used by the BlockCache.- Parameters:
size
- The max heap size.
-