Class JCacheStatisticsMXBean

java.lang.Object
org.redisson.jcache.bean.JCacheStatisticsMXBean
All Implemented Interfaces:
javax.cache.management.CacheStatisticsMXBean
Direct Known Subclasses:
EmptyStatisticsMXBean

public class JCacheStatisticsMXBean extends Object implements javax.cache.management.CacheStatisticsMXBean
Author:
Nikita Koksharov
  • Constructor Details

    • JCacheStatisticsMXBean

      public JCacheStatisticsMXBean()
  • Method Details

    • clear

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

      public void addHits(long value)
    • 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
    • addMisses

      public void addMisses(long value)
    • 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
    • addPuts

      public void addPuts(long value)
    • getCachePuts

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

      public void addRemovals(long value)
    • getCacheRemovals

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

      public void addEvictions(long value)
    • getCacheEvictions

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

      public void addGetTime(long value)
    • getAverageGetTime

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

      public void addPutTime(long value)
    • getAveragePutTime

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

      public void addRemoveTime(long value)
    • getAverageRemoveTime

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