Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides the hbase data+index+metadata file.
|
org.apache.hadoop.hbase.io.hfile.bucket | |
org.apache.hadoop.hbase.io.hfile.slab |
Modifier and Type | Class and Description |
---|---|
class |
CombinedBlockCache
CombinedBlockCache is an abstraction layer that combines
LruBlockCache and BucketCache . |
class |
DoubleBlockCache
Deprecated.
As of 1.0, replaced by
BucketCache . |
class |
LruBlockCache
A block cache implementation that is memory-aware using
HeapSize ,
memory-bound using an LRU eviction algorithm, and concurrent: backed by a
ConcurrentHashMap and with a non-blocking eviction thread giving
constant-time LruBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable, boolean) and LruBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey, boolean, boolean, boolean) operations. |
Modifier and Type | Method and Description |
---|---|
BlockCache |
CacheConfig.getBlockCache()
Returns the block cache.
|
BlockCache[] |
BlockCache.getBlockCaches() |
BlockCache[] |
LruBlockCache.getBlockCaches() |
BlockCache[] |
CombinedBlockCache.getBlockCaches() |
BlockCache[] |
DoubleBlockCache.getBlockCaches()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BlockCacheUtil.CachedBlocksByFile |
BlockCacheUtil.getLoadedCachedBlocksByFile(org.apache.hadoop.conf.Configuration conf,
BlockCache bc)
Get a
BlockCacheUtil.CachedBlocksByFile instance and load it up by iterating content in
BlockCache . |
static String |
BlockCacheUtil.toJSON(BlockCache bc) |
Modifier and Type | Class and Description |
---|---|
class |
BucketCache
BucketCache uses
BucketAllocator to allocate/free block, and use
BucketCache.ramCache and BucketCache.backingMap in order to
determine if a given element is in the cache. |
Modifier and Type | Method and Description |
---|---|
BlockCache[] |
BucketCache.getBlockCaches() |
Modifier and Type | Class and Description |
---|---|
class |
SingleSizeCache
Deprecated.
As of 1.0, replaced by
BucketCache . |
class |
SlabCache
Deprecated.
As of 1.0, replaced by
BucketCache . |
Modifier and Type | Method and Description |
---|---|
BlockCache[] |
SlabCache.getBlockCaches()
Deprecated.
|
BlockCache[] |
SingleSizeCache.getBlockCaches()
Deprecated.
|
Copyright © 2014 The Apache Software Foundation. All rights reserved.