@InterfaceAudience.Private public class BucketCacheStats extends CacheStats
Modifier and Type | Field and Description |
---|---|
private AtomicLong |
ioHitCount |
private AtomicLong |
ioHitTime |
private long |
lastLogTime |
private static int |
nanoTime |
Constructor and Description |
---|
BucketCacheStats() |
Modifier and Type | Method and Description |
---|---|
long |
getIOHitsPerSecond() |
double |
getIOTimePerHit() |
void |
ioHit(long time) |
void |
reset() |
String |
toString() |
evict, evicted, evictedPerEviction, failInsert, getAgeAtEvictionSnapshot, getEvictedCount, getEvictionCount, getFailedInserts, getHitCachingCount, getHitCachingRatio, getHitCachingRatioPastNPeriods, getHitCount, getHitRatio, getHitRatioPastNPeriods, getMissCachingCount, getMissCachingRatio, getMissCount, getMissRatio, getPrimaryEvictedCount, getPrimaryHitCount, getPrimaryMissCount, getRequestCachingCount, getRequestCount, getSumHitCachingCountsPastNPeriods, getSumHitCountsPastNPeriods, getSumRequestCachingCountsPastNPeriods, getSumRequestCountsPastNPeriods, hit, hit, miss, rollMetricsPeriod
private final AtomicLong ioHitCount
private final AtomicLong ioHitTime
private static final int nanoTime
private long lastLogTime
public String toString()
toString
in class CacheStats
public void ioHit(long time)
public long getIOHitsPerSecond()
public double getIOTimePerHit()
public void reset()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.