Uses of Interface
org.apache.hadoop.hbase.io.hfile.CachedBlock
Package
Description
Provides implementations of
HFile
and HFile
BlockCache
.Provides
BucketCache
, an implementation of
BlockCache
.-
Uses of CachedBlock in org.apache.hadoop.hbase.io.hfile
Modifier and TypeFieldDescriptionprivate NavigableMap<String,
NavigableSet<CachedBlock>> BlockCacheUtil.CachedBlocksByFile.cachedBlockByFile
Map by filename.private static final Comparator<CachedBlock>
TinyLfuBlockCache.CachedBlockView.COMPARATOR
(package private) Iterator<CachedBlock>
BlockCachesIterator.current
Modifier and TypeMethodDescriptionBlockCacheUtil.CachedBlocksByFile.getCachedBlockStatsByFile()
BlockCache.iterator()
Returns Iterator over the blocks in the cache.CombinedBlockCache.iterator()
LruAdaptiveBlockCache.iterator()
LruBlockCache.iterator()
MemcachedBlockCache.iterator()
TinyLfuBlockCache.iterator()
Modifier and TypeMethodDescriptionint
TinyLfuBlockCache.CachedBlockView.compareTo
(CachedBlock other) static String
BlockCacheUtil.toString
(CachedBlock cb, long now) Returns The block content as String.static String
BlockCacheUtil.toStringMinusFileName
(CachedBlock cb, long now) Returns The block content ofbc
as a String minus the filename.boolean
BlockCacheUtil.CachedBlocksByFile.update
(CachedBlock cb) Returns True if full....Modifier and TypeMethodDescriptionstatic String
BlockCacheUtil.toJSON
(String filename, NavigableSet<CachedBlock> blocks) Returns A JSON String offilename
and counts ofblocks
-
Uses of CachedBlock in org.apache.hadoop.hbase.io.hfile.bucket