| 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 | Method and Description |
|---|---|
NavigableMap<String,NavigableSet<CachedBlock>> |
BlockCacheUtil.CachedBlocksByFile.getCachedBlockStatsByFile() |
Iterator<CachedBlock> |
LruBlockCache.iterator() |
Iterator<CachedBlock> |
CombinedBlockCache.iterator() |
Iterator<CachedBlock> |
TinyLfuBlockCache.iterator() |
Iterator<CachedBlock> |
BlockCache.iterator()
Returns Iterator over the blocks in the cache.
|
Iterator<CachedBlock> |
LruAdaptiveBlockCache.iterator() |
| Modifier and Type | Method and Description |
|---|---|
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 of
bc as a String minus the filename. |
boolean |
BlockCacheUtil.CachedBlocksByFile.update(CachedBlock cb)
Returns 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.