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
DoubleBlockCache is an abstraction layer that combines two caches, the
smaller onHeapCache and the larger offHeapCache.
|
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) operations. |
class |
SimpleBlockCache
Simple one RFile soft reference cache.
|
Modifier and Type | Method and Description |
---|---|
BlockCache |
CacheConfig.getBlockCache()
Returns the block cache.
|
Constructor and Description |
---|
HFileBlockIndex.BlockIndexWriter(HFileBlock.Writer blockWriter,
BlockCache blockCache,
String nameForCaching)
Creates a multi-level block index writer.
|
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 whether a given element hit. |
Modifier and Type | Class and Description |
---|---|
class |
SingleSizeCache
SingleSizeCache is a slab allocated cache that caches elements up to a single
size.
|
class |
SlabCache
SlabCache is composed of multiple SingleSizeCaches.
|
Copyright © 2013 The Apache Software Foundation. All rights reserved.