Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
org.apache.hadoop.hbase.io.hfile.bucket |
Provides
BucketCache , an implementation of
BlockCache . |
Modifier and Type | Class and Description |
---|---|
private static class |
TinyLfuBlockCache.CachedBlockView |
Modifier and Type | Field and Description |
---|---|
private NavigableMap<String,NavigableSet<CachedBlock>> |
BlockCacheUtil.CachedBlocksByFile.cachedBlockByFile
Map by filename.
|
private static Comparator<CachedBlock> |
TinyLfuBlockCache.CachedBlockView.COMPARATOR |
(package private) Iterator<CachedBlock> |
BlockCachesIterator.current |
Modifier and Type | Method and Description |
---|---|
CachedBlock |
BlockCachesIterator.next() |
Modifier and Type | Method and Description |
---|---|
NavigableMap<String,NavigableSet<CachedBlock>> |
BlockCacheUtil.CachedBlocksByFile.getCachedBlockStatsByFile() |
Iterator<CachedBlock> |
LruBlockCache.iterator() |
Iterator<CachedBlock> |
LruAdaptiveBlockCache.iterator() |
Iterator<CachedBlock> |
BlockCache.iterator()
Returns Iterator over the blocks in the cache.
|
Iterator<CachedBlock> |
TinyLfuBlockCache.iterator() |
Iterator<CachedBlock> |
CombinedBlockCache.iterator() |
Iterator<CachedBlock> |
MemcachedBlockCache.iterator() |
Modifier and Type | Method and Description |
---|---|
int |
TinyLfuBlockCache.CachedBlockView.compareTo(CachedBlock other) |
static String |
BlockCacheUtil.toString(CachedBlock cb,
long now)
n * @return The block content as String.
|
static String |
BlockCacheUtil.toStringMinusFileName(CachedBlock cb,
long now)
n * @return The block content of
bc as a String minus the filename. |
boolean |
BlockCacheUtil.CachedBlocksByFile.update(CachedBlock cb)
n * @return True if full....
|
Modifier and Type | Method and Description |
---|---|
static String |
BlockCacheUtil.toJSON(String filename,
NavigableSet<CachedBlock> blocks)
Returns A JSON String of
filename and counts of blocks |
Modifier and Type | Method and Description |
---|---|
Iterator<CachedBlock> |
BucketCache.iterator() |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.