@InterfaceAudience.Private public class CacheStats extends Object
Constructor and Description |
---|
CacheStats(String name) |
CacheStats(String name,
int numPeriodsInWindow) |
public CacheStats(String name)
public CacheStats(String name, int numPeriodsInWindow)
public void miss(boolean caching, boolean primary, BlockType type)
public void hit(boolean caching, boolean primary, BlockType type)
public void evict()
public void evicted(long t, boolean primary)
public long failInsert()
public long getDataMissCount()
public long getLeafIndexMissCount()
public long getBloomChunkMissCount()
public long getMetaMissCount()
public long getRootIndexMissCount()
public long getIntermediateIndexMissCount()
public long getFileInfoMissCount()
public long getGeneralBloomMetaMissCount()
public long getDeleteFamilyBloomMissCount()
public long getTrailerMissCount()
public long getDataHitCount()
public long getLeafIndexHitCount()
public long getBloomChunkHitCount()
public long getMetaHitCount()
public long getRootIndexHitCount()
public long getIntermediateIndexHitCount()
public long getFileInfoHitCount()
public long getGeneralBloomMetaHitCount()
public long getDeleteFamilyBloomHitCount()
public long getTrailerHitCount()
public long getRequestCount()
public long getRequestCachingCount()
public long getMissCount()
public long getPrimaryMissCount()
public long getMissCachingCount()
public long getHitCount()
public long getPrimaryHitCount()
public long getHitCachingCount()
public long getEvictionCount()
public long getEvictedCount()
public long getPrimaryEvictedCount()
public double getHitRatio()
public double getHitCachingRatio()
public double getMissRatio()
public double getMissCachingRatio()
public double evictedPerEviction()
public long getFailedInserts()
public void rollMetricsPeriod()
public long getSumHitCountsPastNPeriods()
public long getSumRequestCountsPastNPeriods()
public long getSumHitCachingCountsPastNPeriods()
public long getSumRequestCachingCountsPastNPeriods()
public double getHitRatioPastNPeriods()
public double getHitCachingRatioPastNPeriods()
public AgeSnapshot getAgeAtEvictionSnapshot()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.