Uses of Class
org.apache.hadoop.hbase.io.hfile.BlockType.BlockCategory

Packages that use BlockType.BlockCategory
org.apache.hadoop.hbase.io.hfile Provides the hbase data+index+metadata file. 
org.apache.hadoop.hbase.regionserver.metrics   
 

Uses of BlockType.BlockCategory in org.apache.hadoop.hbase.io.hfile
 

Methods in org.apache.hadoop.hbase.io.hfile that return BlockType.BlockCategory
 BlockType.BlockCategory BlockType.getCategory()
           
static BlockType.BlockCategory BlockType.BlockCategory.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BlockType.BlockCategory[] BlockType.BlockCategory.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.apache.hadoop.hbase.io.hfile with parameters of type BlockType.BlockCategory
 boolean CacheConfig.shouldCacheBlockOnRead(BlockType.BlockCategory category)
          Should we cache a block of a particular category? We always cache important blocks such as index blocks, as long as the block cache is available.
 

Uses of BlockType.BlockCategory in org.apache.hadoop.hbase.regionserver.metrics
 

Methods in org.apache.hadoop.hbase.regionserver.metrics with parameters of type BlockType.BlockCategory
 void SchemaMetrics.addToCacheSize(BlockType.BlockCategory category, long cacheSizeDelta)
          Adds the given delta to the cache size for the given block category and the aggregate metric for all block categories.
 String SchemaMetrics.getBlockMetricName(BlockType.BlockCategory blockCategory, boolean isCompaction, SchemaMetrics.BlockMetricType metricType)
           
 void SchemaMetrics.updateOnCacheHit(BlockType.BlockCategory blockCategory, boolean isCompaction)
          Updates the number of hits and the total number of block reads on a block cache hit.
 void SchemaMetrics.updateOnCacheHit(BlockType.BlockCategory blockCategory, boolean isCompaction, long count)
          Updates the number of hits and the total number of block reads on a block cache hit.
 void SchemaMetrics.updateOnCacheMiss(BlockType.BlockCategory blockCategory, boolean isCompaction, long timeMs)
          Updates read time, the number of misses, and the total number of block reads on a block cache miss.
 void SchemaMetrics.updateOnCachePutOrEvict(BlockType.BlockCategory blockCategory, long cacheSizeDelta, boolean isEviction)
           
 



Copyright © 2015 The Apache Software Foundation. All Rights Reserved.