@InterfaceAudience.Private public class BucketCacheStats extends CacheStats
Modifier and Type | Field and Description |
---|---|
private LongAdder |
allocationFailCount |
private LongAdder |
ioHitCount |
private LongAdder |
ioHitTime |
private long |
lastLogTime |
private static long |
NANO_TIME |
Constructor and Description |
---|
BucketCacheStats() |
Modifier and Type | Method and Description |
---|---|
void |
allocationFailed() |
long |
getAllocationFailCount() |
long |
getIOHitsPerSecond() |
double |
getIOTimePerHit() |
void |
ioHit(long time) |
void |
reset() |
String |
toString() |
evict, evicted, evictedPerEviction, failInsert, getAgeAtEvictionSnapshot, getBloomChunkHitCount, getBloomChunkMissCount, getDataHitCount, getDataMissCount, getDeleteFamilyBloomHitCount, getDeleteFamilyBloomMissCount, getEvictedCount, getEvictionCount, getFailedInserts, getFileInfoHitCount, getFileInfoMissCount, getGeneralBloomMetaHitCount, getGeneralBloomMetaMissCount, getHitCachingCount, getHitCachingRatio, getHitCachingRatioPastNPeriods, getHitCount, getHitRatio, getHitRatioPastNPeriods, getIntermediateIndexHitCount, getIntermediateIndexMissCount, getLeafIndexHitCount, getLeafIndexMissCount, getMetaHitCount, getMetaMissCount, getMissCachingCount, getMissCachingRatio, getMissCount, getMissRatio, getPrimaryEvictedCount, getPrimaryHitCount, getPrimaryMissCount, getRequestCachingCount, getRequestCount, getRootIndexHitCount, getRootIndexMissCount, getSumHitCachingCountsPastNPeriods, getSumHitCountsPastNPeriods, getSumRequestCachingCountsPastNPeriods, getSumRequestCountsPastNPeriods, getTrailerHitCount, getTrailerMissCount, hit, miss, rollMetricsPeriod
private final LongAdder ioHitCount
private static final long NANO_TIME
private long lastLogTime
private LongAdder allocationFailCount
BucketCacheStats()
public String toString()
toString
in class CacheStats
public void ioHit(long time)
public long getIOHitsPerSecond()
public double getIOTimePerHit()
public void reset()
public long getAllocationFailCount()
public void allocationFailed()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.