Uses of Interface
org.apache.hadoop.hbase.io.hfile.BlockCache

Packages that use org.apache.hadoop.hbase.io.hfile.BlockCache
Package
Description
Provides implementations of HFile and HFile BlockCache.
 
  • Uses of org.apache.hadoop.hbase.io.hfile.BlockCache in org.apache.hadoop.hbase.io.hfile

    Subinterfaces of org.apache.hadoop.hbase.io.hfile.BlockCache in in org.apache.hadoop.hbase.io.hfile
    Modifier and Type
    Interface
    Description
    interface 
    org.apache.hadoop.hbase.io.hfile.FirstLevelBlockCache
    In-memory BlockCache that may be backed by secondary layer(s).
    interface 
    org.apache.hadoop.hbase.io.hfile.ResizableBlockCache
    BlockCache which is resizable.
    Classes in org.apache.hadoop.hbase.io.hfile that implement org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier and Type
    Class
    Description
    class 
    org.apache.hadoop.hbase.io.hfile.CombinedBlockCache
    CombinedBlockCache is an abstraction layer that combines FirstLevelBlockCache and BucketCache.
    class 
    org.apache.hadoop.hbase.io.hfile.InclusiveCombinedBlockCache
     
    class 
    org.apache.hadoop.hbase.io.hfile.IndexOnlyLruBlockCache
    An on heap block cache implementation extended LruBlockCache and only cache index block.
    class 
    org.apache.hadoop.hbase.io.hfile.LruAdaptiveBlockCache
    This realisation improve performance of classical LRU cache up to 3 times via reduce GC job.
    class 
    org.apache.hadoop.hbase.io.hfile.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 
    org.apache.hadoop.hbase.io.hfile.MemcachedBlockCache
    Class to store blocks into memcached.
    final class 
    org.apache.hadoop.hbase.io.hfile.TinyLfuBlockCache
    A block cache that is memory-aware using HeapSize, memory bounded using the W-TinyLFU eviction algorithm, and concurrent.
    Fields in org.apache.hadoop.hbase.io.hfile declared as org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier and Type
    Field
    Description
    protected final org.apache.hadoop.hbase.io.hfile.BlockCache
    CombinedBlockCache.l2Cache
     
    Methods in org.apache.hadoop.hbase.io.hfile that return org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.io.hfile.BlockCache
    BlockCacheFactory.createBlockCache(org.apache.hadoop.conf.Configuration conf)
     
    org.apache.hadoop.hbase.io.hfile.BlockCache[]
    BlockCache.getBlockCaches()
    Returns The list of sub blockcaches that make up this one; returns null if no sub caches.
    org.apache.hadoop.hbase.io.hfile.BlockCache[]
    CombinedBlockCache.getBlockCaches()
     
    org.apache.hadoop.hbase.io.hfile.BlockCache[]
    LruAdaptiveBlockCache.getBlockCaches()
     
    org.apache.hadoop.hbase.io.hfile.BlockCache[]
    LruBlockCache.getBlockCaches()
     
    org.apache.hadoop.hbase.io.hfile.BlockCache[]
    MemcachedBlockCache.getBlockCaches()
     
    org.apache.hadoop.hbase.io.hfile.BlockCache[]
    TinyLfuBlockCache.getBlockCaches()
     
    org.apache.hadoop.hbase.io.hfile.BlockCache
    CombinedBlockCache.getSecondLevelCache()
     
    Methods in org.apache.hadoop.hbase.io.hfile that return types with arguments of type org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier and Type
    Method
    Description
    Optional<org.apache.hadoop.hbase.io.hfile.BlockCache>
    CacheConfig.getBlockCache()
    Returns the block cache.
    Methods in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier and Type
    Method
    Description
    static org.apache.hadoop.hbase.io.hfile.BlockCacheUtil.CachedBlocksByFile
    BlockCacheUtil.getLoadedCachedBlocksByFile(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.BlockCache bc)
    Get a BlockCacheUtil.CachedBlocksByFile instance and load it up by iterating content in BlockCache.
    void
    FirstLevelBlockCache.setVictimCache(org.apache.hadoop.hbase.io.hfile.BlockCache victimCache)
    Specifies the secondary cache.
    void
    LruAdaptiveBlockCache.setVictimCache(org.apache.hadoop.hbase.io.hfile.BlockCache victimCache)
     
    void
    LruBlockCache.setVictimCache(org.apache.hadoop.hbase.io.hfile.BlockCache victimCache)
     
    void
    TinyLfuBlockCache.setVictimCache(org.apache.hadoop.hbase.io.hfile.BlockCache victimCache)
     
    static boolean
    BlockCacheUtil.shouldReplaceExistingCacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCache blockCache, org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable newBlock)
    Because of the region splitting, it's possible that the split key locate in the middle of a block.
    static String
    BlockCacheUtil.toJSON(org.apache.hadoop.hbase.io.hfile.BlockCache bc)
    Returns JSON string of bc content.
    Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier
    Constructor
    Description
     
    CacheConfig(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.hbase.io.hfile.BlockCache blockCache, org.apache.hadoop.hbase.io.ByteBuffAllocator byteBuffAllocator)
    Create a cache configuration using the specified configuration object and family descriptor.
     
    CacheConfig(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.io.hfile.BlockCache blockCache)
     
     
    CombinedBlockCache(org.apache.hadoop.hbase.io.hfile.FirstLevelBlockCache l1Cache, org.apache.hadoop.hbase.io.hfile.BlockCache l2Cache)
     
     
    InclusiveCombinedBlockCache(org.apache.hadoop.hbase.io.hfile.FirstLevelBlockCache l1, org.apache.hadoop.hbase.io.hfile.BlockCache l2)
     
  • Uses of org.apache.hadoop.hbase.io.hfile.BlockCache in org.apache.hadoop.hbase.regionserver

    Methods in org.apache.hadoop.hbase.regionserver that return org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.io.hfile.BlockCache
    HRegion.getBlockCache()
     
    Methods in org.apache.hadoop.hbase.regionserver that return types with arguments of type org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier and Type
    Method
    Description
    Optional<org.apache.hadoop.hbase.io.hfile.BlockCache>
    HRegionServer.getBlockCache()
    May be null if this is a master which not carry table.
    Optional<org.apache.hadoop.hbase.io.hfile.BlockCache>
    RegionServerServices.getBlockCache()
    Returns The block cache instance.
    Methods in org.apache.hadoop.hbase.regionserver with parameters of type org.apache.hadoop.hbase.io.hfile.BlockCache in in
    Modifier and Type
    Method
    Description
    void
    HRegion.setBlockCache(org.apache.hadoop.hbase.io.hfile.BlockCache blockCache)
    Only used for unit test which doesn't start region server.