Class JCacheJmxStatisticsMXBean

  • All Implemented Interfaces:
    javax.cache.management.CacheStatisticsMXBean

    public class JCacheJmxStatisticsMXBean
    extends Object
    implements javax.cache.management.CacheStatisticsMXBean
    Author:
    Jens Wilke; created: 2015-04-29
    • Constructor Detail

      • JCacheJmxStatisticsMXBean

        public JCacheJmxStatisticsMXBean​(JCacheAdapter cache)
    • Method Detail

      • clear

        public void clear()
        Specified by:
        clear in interface javax.cache.management.CacheStatisticsMXBean
      • getCacheHits

        public long getCacheHits()
        Specified by:
        getCacheHits in interface javax.cache.management.CacheStatisticsMXBean
      • getCacheHitPercentage

        public float getCacheHitPercentage()
        Specified by:
        getCacheHitPercentage in interface javax.cache.management.CacheStatisticsMXBean
      • getCacheMisses

        public long getCacheMisses()
        Specified by:
        getCacheMisses in interface javax.cache.management.CacheStatisticsMXBean
      • getCacheMissPercentage

        public float getCacheMissPercentage()
        Specified by:
        getCacheMissPercentage in interface javax.cache.management.CacheStatisticsMXBean
      • getCacheGets

        public long getCacheGets()
        Specified by:
        getCacheGets in interface javax.cache.management.CacheStatisticsMXBean
      • getCachePuts

        public long getCachePuts()
        Specified by:
        getCachePuts in interface javax.cache.management.CacheStatisticsMXBean
      • getCacheRemovals

        public long getCacheRemovals()
        Specified by:
        getCacheRemovals in interface javax.cache.management.CacheStatisticsMXBean
      • getCacheEvictions

        public long getCacheEvictions()
        Specified by:
        getCacheEvictions in interface javax.cache.management.CacheStatisticsMXBean
      • getAverageGetTime

        public float getAverageGetTime()
        Specified by:
        getAverageGetTime in interface javax.cache.management.CacheStatisticsMXBean
      • getAveragePutTime

        public float getAveragePutTime()
        Specified by:
        getAveragePutTime in interface javax.cache.management.CacheStatisticsMXBean
      • getAverageRemoveTime

        public float getAverageRemoveTime()
        Specified by:
        getAverageRemoveTime in interface javax.cache.management.CacheStatisticsMXBean