Uses of Class
org.apache.hadoop.hbase.io.hfile.BlockCacheKey

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

    Methods in org.apache.hadoop.hbase.io.hfile that return org.apache.hadoop.hbase.io.hfile.BlockCacheKey in in
    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.io.hfile.BlockCacheKey
    LruCachedBlock.getCacheKey()
     
    Methods in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.BlockCacheKey in in
    Modifier and Type
    Method
    Description
    void
    BlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf)
    Add block to cache (defaults to not in-memory).
    void
    BlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory)
    Add block to cache.
    default void
    BlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory, boolean waitWhenCache)
    Add block to cache.
    void
    CombinedBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf)
     
    void
    CombinedBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory)
     
    void
    CombinedBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory, boolean waitWhenCache)
     
    void
    InclusiveCombinedBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory)
     
    void
    IndexOnlyLruBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory)
    Cache only index block with the specified name and buffer
    void
    LruAdaptiveBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf)
    Cache the block with the specified name and buffer.
    void
    LruAdaptiveBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory)
    Cache the block with the specified name and buffer.
    void
    LruBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf)
    Cache the block with the specified name and buffer.
    void
    LruBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory)
    Cache the block with the specified name and buffer.
    void
    MemcachedBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf)
     
    void
    MemcachedBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, boolean inMemory)
     
    void
    TinyLfuBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey key, org.apache.hadoop.hbase.io.hfile.Cacheable value)
     
    void
    TinyLfuBlockCache.cacheBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable value, boolean inMemory)
     
    boolean
    FirstLevelBlockCache.containsBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
    Whether the cache contains the block with specified cacheKey
    boolean
    LruAdaptiveBlockCache.containsBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
    Whether the cache contains block with specified cacheKey
    boolean
    LruBlockCache.containsBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
    Whether the cache contains block with specified cacheKey
    boolean
    TinyLfuBlockCache.containsBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
     
    boolean
    BlockCache.evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
    Evict block from cache.
    boolean
    CombinedBlockCache.evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
     
    boolean
    InclusiveCombinedBlockCache.evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
     
    boolean
    LruAdaptiveBlockCache.evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
     
    boolean
    LruBlockCache.evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
     
    boolean
    MemcachedBlockCache.evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
     
    boolean
    TinyLfuBlockCache.evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
     
    org.apache.hadoop.hbase.io.hfile.Cacheable
    BlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics)
    Fetch block from cache.
    default org.apache.hadoop.hbase.io.hfile.Cacheable
    BlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics, org.apache.hadoop.hbase.io.hfile.BlockType blockType)
    Fetch block from cache.
    org.apache.hadoop.hbase.io.hfile.Cacheable
    CombinedBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics)
     
    org.apache.hadoop.hbase.io.hfile.Cacheable
    CombinedBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics, org.apache.hadoop.hbase.io.hfile.BlockType blockType)
     
    org.apache.hadoop.hbase.io.hfile.Cacheable
    InclusiveCombinedBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics)
     
    org.apache.hadoop.hbase.io.hfile.Cacheable
    LruAdaptiveBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics)
    Get the buffer of the block with the specified name.
    org.apache.hadoop.hbase.io.hfile.Cacheable
    LruBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics)
    Get the buffer of the block with the specified name.
    org.apache.hadoop.hbase.io.hfile.Cacheable
    MemcachedBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics)
     
    org.apache.hadoop.hbase.io.hfile.Cacheable
    TinyLfuBlockCache.getBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, boolean caching, boolean repeat, boolean updateCacheMetrics)
     
    default Optional<Integer>
    BlockCache.getBlockSize(org.apache.hadoop.hbase.io.hfile.BlockCacheKey key)
    Returns an Optional containing the size of the block related to the passed key.
    CombinedBlockCache.getBlockSize(org.apache.hadoop.hbase.io.hfile.BlockCacheKey key)
     
    int
    CombinedBlockCache.getRpcRefCount(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
     
    default Optional<Boolean>
    BlockCache.isAlreadyCached(org.apache.hadoop.hbase.io.hfile.BlockCacheKey key)
    Checks whether the block for the passed key is already cached.
    CombinedBlockCache.isAlreadyCached(org.apache.hadoop.hbase.io.hfile.BlockCacheKey key)
     
    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 int
    BlockCacheUtil.validateBlockAddition(org.apache.hadoop.hbase.io.hfile.Cacheable existing, org.apache.hadoop.hbase.io.hfile.Cacheable newBlock, org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey)
    Validate that the existing and newBlock are the same without including the nextBlockMetadata, if not, throw an exception.
    Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type org.apache.hadoop.hbase.io.hfile.BlockCacheKey in in
    Modifier
    Constructor
    Description
     
    LruCachedBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, long accessTime)
     
     
    LruCachedBlock(org.apache.hadoop.hbase.io.hfile.BlockCacheKey cacheKey, org.apache.hadoop.hbase.io.hfile.Cacheable buf, long accessTime, boolean inMemory)