public class NoOpCacheStatsTracker extends Object implements CacheStatsTracker
Modifier and Type | Class and Description |
---|---|
class |
NoOpCacheStatsTracker.NoOpCacheRequest
CacheRequest that doesn't track stats
|
CacheStatsTracker.CacheRequest
Constructor and Description |
---|
NoOpCacheStatsTracker() |
Modifier and Type | Method and Description |
---|---|
long |
getAverageLoadTime() |
long |
getAverageMissTime() |
long |
getAverageRetrievalTime() |
long |
getTotalEvictionCount() |
long |
getTotalHitCount() |
long |
getTotalInvalidationCount() |
long |
getTotalLoadExceptionCount() |
long |
getTotalLoadSuccessCount() |
long |
getTotalLoadTime() |
long |
getTotalMissCount() |
long |
getTotalMissMatchCount() |
long |
getTotalMissTime() |
long |
getTotalRetrievalTime() |
void |
recordEviction() |
void |
recordEviction(long num) |
void |
recordInvalidation() |
void |
recordInvalidation(long num) |
CacheStatsTracker.CacheRequest |
startRequest() |
public CacheStatsTracker.CacheRequest startRequest()
startRequest
in interface CacheStatsTracker
public long getTotalHitCount()
getTotalHitCount
in interface CacheStatsTracker
public long getTotalMissCount()
getTotalMissCount
in interface CacheStatsTracker
public long getTotalMissMatchCount()
getTotalMissMatchCount
in interface CacheStatsTracker
public long getTotalEvictionCount()
getTotalEvictionCount
in interface CacheStatsTracker
public long getTotalInvalidationCount()
getTotalInvalidationCount
in interface CacheStatsTracker
public long getTotalLoadSuccessCount()
getTotalLoadSuccessCount
in interface CacheStatsTracker
public long getTotalLoadExceptionCount()
getTotalLoadExceptionCount
in interface CacheStatsTracker
public long getTotalRetrievalTime()
getTotalRetrievalTime
in interface CacheStatsTracker
public long getTotalLoadTime()
getTotalLoadTime
in interface CacheStatsTracker
public long getTotalMissTime()
getTotalMissTime
in interface CacheStatsTracker
public long getAverageRetrievalTime()
getAverageRetrievalTime
in interface CacheStatsTracker
public long getAverageMissTime()
getAverageMissTime
in interface CacheStatsTracker
public long getAverageLoadTime()
getAverageLoadTime
in interface CacheStatsTracker
public void recordEviction()
recordEviction
in interface CacheStatsTracker
public void recordEviction(long num)
recordEviction
in interface CacheStatsTracker
public void recordInvalidation()
recordInvalidation
in interface CacheStatsTracker
public void recordInvalidation(long num)
recordInvalidation
in interface CacheStatsTracker