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, getBlock, getBlockCaches, getBlockCount, getBlockSize, getCurrentDataSize, getCurrentSize, getDataBlockCount, getFreeSize, getFullyCachedFiles, getMaxSize, getStats, isAlreadyCached, isMetaBlock, iterator, notifyFileBlockEvicted, notifyFileCachingCompleted, shouldCacheFile, shutdown, size
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.
-