Class AbstractCacheStatistics

  • All Implemented Interfaces:
    org.cache2k.operation.CacheStatistics

    public abstract class AbstractCacheStatistics
    extends Object
    implements org.cache2k.operation.CacheStatistics
    Extract statistics from InternalCacheInfo
    Author:
    Jens Wilke
    • Constructor Detail

      • AbstractCacheStatistics

        public AbstractCacheStatistics()
    • Method Detail

      • getMissCount

        public long getMissCount()
        Specified by:
        getMissCount in interface org.cache2k.operation.CacheStatistics
      • getInsertCount

        public long getInsertCount()
        Specified by:
        getInsertCount in interface org.cache2k.operation.CacheStatistics
      • getLoadCount

        public long getLoadCount()
        Specified by:
        getLoadCount in interface org.cache2k.operation.CacheStatistics
      • getRefreshCount

        public long getRefreshCount()
        Specified by:
        getRefreshCount in interface org.cache2k.operation.CacheStatistics
      • getRefreshFailedCount

        public long getRefreshFailedCount()
        Specified by:
        getRefreshFailedCount in interface org.cache2k.operation.CacheStatistics
      • getRefreshedHitCount

        public long getRefreshedHitCount()
        Specified by:
        getRefreshedHitCount in interface org.cache2k.operation.CacheStatistics
      • getExpiredCount

        public long getExpiredCount()
        Specified by:
        getExpiredCount in interface org.cache2k.operation.CacheStatistics
      • getEvictedCount

        public long getEvictedCount()
        Specified by:
        getEvictedCount in interface org.cache2k.operation.CacheStatistics
      • getEvictedOrRemovedWeight

        public long getEvictedOrRemovedWeight()
        Specified by:
        getEvictedOrRemovedWeight in interface org.cache2k.operation.CacheStatistics
      • getKeyMutationCount

        public long getKeyMutationCount()
        Specified by:
        getKeyMutationCount in interface org.cache2k.operation.CacheStatistics
      • getLoadExceptionCount

        public long getLoadExceptionCount()
        Specified by:
        getLoadExceptionCount in interface org.cache2k.operation.CacheStatistics
      • getSuppressedLoadExceptionCount

        public long getSuppressedLoadExceptionCount()
        Specified by:
        getSuppressedLoadExceptionCount in interface org.cache2k.operation.CacheStatistics
      • getGetCount

        public long getGetCount()
        Specified by:
        getGetCount in interface org.cache2k.operation.CacheStatistics
      • getPutCount

        public long getPutCount()
        Specified by:
        getPutCount in interface org.cache2k.operation.CacheStatistics
      • getClearCallsCount

        public long getClearCallsCount()
        Specified by:
        getClearCallsCount in interface org.cache2k.operation.CacheStatistics
      • getRemoveCount

        public long getRemoveCount()
        Specified by:
        getRemoveCount in interface org.cache2k.operation.CacheStatistics
      • getClearedCount

        public long getClearedCount()
        Specified by:
        getClearedCount in interface org.cache2k.operation.CacheStatistics
      • getHitRate

        public double getHitRate()
        Specified by:
        getHitRate in interface org.cache2k.operation.CacheStatistics
      • getMillisPerLoad

        public double getMillisPerLoad()
        Specified by:
        getMillisPerLoad in interface org.cache2k.operation.CacheStatistics
      • getTotalLoadMillis

        public long getTotalLoadMillis()
        Specified by:
        getTotalLoadMillis in interface org.cache2k.operation.CacheStatistics