| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.io.hfile | Provides implementations of  HFileand HFileBlockCache. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LruBlockCacheA block cache implementation that is memory-aware using  HeapSize,
 memory-bound using an LRU eviction algorithm, and concurrent: backed by aConcurrentHashMapand with a non-blocking eviction thread giving
 constant-timeLruBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable, boolean)andLruBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey, boolean, boolean, boolean)operations. | 
| class  | TinyLfuBlockCacheA 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–2021 The Apache Software Foundation. All rights reserved.