public class CacheStatisticsImpl extends java.lang.Object implements CacheStatistics
Constructor and Description |
---|
CacheStatisticsImpl(CacheImpl<?,?> cache) |
Modifier and Type | Method and Description |
---|---|
void |
clearStatistics() |
float |
getAverageGetMillis() |
float |
getAveragePutMillis() |
float |
getAverageRemoveMillis() |
long |
getCacheEvictions() |
long |
getCacheGets() |
float |
getCacheHitPercentage() |
long |
getCacheHits() |
long |
getCacheMisses() |
float |
getCacheMissPercentage() |
long |
getCachePuts() |
long |
getCacheRemovals() |
java.util.Date |
getStartAccumulationDate() |
java.lang.String |
toString() |
public CacheStatisticsImpl(CacheImpl<?,?> cache)
public void clearStatistics()
clearStatistics
in interface CacheStatistics
public java.util.Date getStartAccumulationDate()
getStartAccumulationDate
in interface CacheStatistics
public long getCacheHits()
getCacheHits
in interface CacheStatistics
public float getCacheHitPercentage()
getCacheHitPercentage
in interface CacheStatistics
public long getCacheMisses()
getCacheMisses
in interface CacheStatistics
public float getCacheMissPercentage()
getCacheMissPercentage
in interface CacheStatistics
public long getCacheGets()
getCacheGets
in interface CacheStatistics
public long getCachePuts()
getCachePuts
in interface CacheStatistics
public long getCacheRemovals()
getCacheRemovals
in interface CacheStatistics
public long getCacheEvictions()
getCacheEvictions
in interface CacheStatistics
public float getAverageGetMillis()
getAverageGetMillis
in interface CacheStatistics
public float getAveragePutMillis()
getAveragePutMillis
in interface CacheStatistics
public float getAverageRemoveMillis()
getAverageRemoveMillis
in interface CacheStatistics
public java.lang.String toString()
toString
in class java.lang.Object