org.apache.hadoop.hbase.io.hfile
Class CacheStats
java.lang.Object
org.apache.hadoop.hbase.io.hfile.CacheStats
public class CacheStats
- extends Object
Class that implements cache metrics.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheStats
public CacheStats()
CacheStats
public CacheStats(int numPeriodsInWindow)
miss
public void miss(boolean caching)
hit
public void hit(boolean caching)
evict
public void evict()
evicted
public void evicted()
getRequestCount
public long getRequestCount()
getRequestCachingCount
public long getRequestCachingCount()
getMissCount
public long getMissCount()
getMissCachingCount
public long getMissCachingCount()
getHitCount
public long getHitCount()
getHitCachingCount
public long getHitCachingCount()
getEvictionCount
public long getEvictionCount()
getEvictedCount
public long getEvictedCount()
getHitRatio
public double getHitRatio()
getHitCachingRatio
public double getHitCachingRatio()
getMissRatio
public double getMissRatio()
getMissCachingRatio
public double getMissCachingRatio()
evictedPerEviction
public double evictedPerEviction()
rollMetricsPeriod
public void rollMetricsPeriod()
getHitRatioPastNPeriods
public double getHitRatioPastNPeriods()
getHitCachingRatioPastNPeriods
public double getHitCachingRatioPastNPeriods()
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.