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 CacheStatisticspublic java.util.Date getStartAccumulationDate()
getStartAccumulationDate in interface CacheStatisticspublic long getCacheHits()
getCacheHits in interface CacheStatisticspublic float getCacheHitPercentage()
getCacheHitPercentage in interface CacheStatisticspublic long getCacheMisses()
getCacheMisses in interface CacheStatisticspublic float getCacheMissPercentage()
getCacheMissPercentage in interface CacheStatisticspublic long getCacheGets()
getCacheGets in interface CacheStatisticspublic long getCachePuts()
getCachePuts in interface CacheStatisticspublic long getCacheRemovals()
getCacheRemovals in interface CacheStatisticspublic long getCacheEvictions()
getCacheEvictions in interface CacheStatisticspublic float getAverageGetMillis()
getAverageGetMillis in interface CacheStatisticspublic float getAveragePutMillis()
getAveragePutMillis in interface CacheStatisticspublic float getAverageRemoveMillis()
getAverageRemoveMillis in interface CacheStatisticspublic java.lang.String toString()
toString in class java.lang.Object