Package org.cache2k.core.common
Class AbstractCacheStatistics
- java.lang.Object
-
- org.cache2k.core.common.AbstractCacheStatistics
-
- All Implemented Interfaces:
org.cache2k.operation.CacheStatistics
public abstract class AbstractCacheStatistics extends Object implements org.cache2k.operation.CacheStatistics
Extract statistics fromInternalCacheInfo- Author:
- Jens Wilke
-
-
Constructor Summary
Constructors Constructor Description AbstractCacheStatistics()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description longgetClearCallsCount()longgetClearedCount()longgetEvictedCount()longgetEvictedOrRemovedWeight()longgetExpiredCount()longgetGetCount()doublegetHitRate()longgetInsertCount()longgetKeyMutationCount()longgetLoadCount()longgetLoadExceptionCount()doublegetMillisPerLoad()longgetMissCount()longgetPutCount()longgetRefreshCount()longgetRefreshedHitCount()longgetRefreshFailedCount()longgetRemoveCount()longgetSuppressedLoadExceptionCount()longgetTotalLoadMillis()protected abstract InternalCacheInfoinfo()
-
-
-
Method Detail
-
info
protected abstract InternalCacheInfo info()
-
getMissCount
public long getMissCount()
- Specified by:
getMissCountin interfaceorg.cache2k.operation.CacheStatistics
-
getInsertCount
public long getInsertCount()
- Specified by:
getInsertCountin interfaceorg.cache2k.operation.CacheStatistics
-
getLoadCount
public long getLoadCount()
- Specified by:
getLoadCountin interfaceorg.cache2k.operation.CacheStatistics
-
getRefreshCount
public long getRefreshCount()
- Specified by:
getRefreshCountin interfaceorg.cache2k.operation.CacheStatistics
-
getRefreshFailedCount
public long getRefreshFailedCount()
- Specified by:
getRefreshFailedCountin interfaceorg.cache2k.operation.CacheStatistics
-
getRefreshedHitCount
public long getRefreshedHitCount()
- Specified by:
getRefreshedHitCountin interfaceorg.cache2k.operation.CacheStatistics
-
getExpiredCount
public long getExpiredCount()
- Specified by:
getExpiredCountin interfaceorg.cache2k.operation.CacheStatistics
-
getEvictedCount
public long getEvictedCount()
- Specified by:
getEvictedCountin interfaceorg.cache2k.operation.CacheStatistics
-
getEvictedOrRemovedWeight
public long getEvictedOrRemovedWeight()
- Specified by:
getEvictedOrRemovedWeightin interfaceorg.cache2k.operation.CacheStatistics
-
getKeyMutationCount
public long getKeyMutationCount()
- Specified by:
getKeyMutationCountin interfaceorg.cache2k.operation.CacheStatistics
-
getLoadExceptionCount
public long getLoadExceptionCount()
- Specified by:
getLoadExceptionCountin interfaceorg.cache2k.operation.CacheStatistics
-
getSuppressedLoadExceptionCount
public long getSuppressedLoadExceptionCount()
- Specified by:
getSuppressedLoadExceptionCountin interfaceorg.cache2k.operation.CacheStatistics
-
getGetCount
public long getGetCount()
- Specified by:
getGetCountin interfaceorg.cache2k.operation.CacheStatistics
-
getPutCount
public long getPutCount()
- Specified by:
getPutCountin interfaceorg.cache2k.operation.CacheStatistics
-
getClearCallsCount
public long getClearCallsCount()
- Specified by:
getClearCallsCountin interfaceorg.cache2k.operation.CacheStatistics
-
getRemoveCount
public long getRemoveCount()
- Specified by:
getRemoveCountin interfaceorg.cache2k.operation.CacheStatistics
-
getClearedCount
public long getClearedCount()
- Specified by:
getClearedCountin interfaceorg.cache2k.operation.CacheStatistics
-
getHitRate
public double getHitRate()
- Specified by:
getHitRatein interfaceorg.cache2k.operation.CacheStatistics
-
getMillisPerLoad
public double getMillisPerLoad()
- Specified by:
getMillisPerLoadin interfaceorg.cache2k.operation.CacheStatistics
-
getTotalLoadMillis
public long getTotalLoadMillis()
- Specified by:
getTotalLoadMillisin interfaceorg.cache2k.operation.CacheStatistics
-
-