Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
Modifier and Type | Class and Description |
---|---|
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. |
class |
TinyLfuBlockCache
A block cache that is memory-aware using
HeapSize , memory bounded using the W-TinyLFU
eviction algorithm, and concurrent. |
Modifier and Type | Field and Description |
---|---|
protected FirstLevelBlockCache |
CombinedBlockCache.l1Cache |
Modifier and Type | Method and Description |
---|---|
private static FirstLevelBlockCache |
BlockCacheFactory.createFirstLevelCache(org.apache.hadoop.conf.Configuration c) |
FirstLevelBlockCache |
CombinedBlockCache.getFirstLevelCache() |
Constructor and Description |
---|
CombinedBlockCache(FirstLevelBlockCache l1Cache,
BlockCache l2Cache) |
InclusiveCombinedBlockCache(FirstLevelBlockCache l1,
BlockCache l2) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.