Package org.cache2k.jcache.provider
Class JCacheJmxStatisticsMXBean
- java.lang.Object
-
- org.cache2k.jcache.provider.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 Summary
Constructors Constructor Description JCacheJmxStatisticsMXBean(JCacheAdapter cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
float
getAverageGetTime()
float
getAveragePutTime()
float
getAverageRemoveTime()
long
getCacheEvictions()
long
getCacheGets()
float
getCacheHitPercentage()
long
getCacheHits()
long
getCacheMisses()
float
getCacheMissPercentage()
long
getCachePuts()
long
getCacheRemovals()
-
-
-
Constructor Detail
-
JCacheJmxStatisticsMXBean
public JCacheJmxStatisticsMXBean(JCacheAdapter cache)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCacheHits
public long getCacheHits()
- Specified by:
getCacheHits
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCacheHitPercentage
public float getCacheHitPercentage()
- Specified by:
getCacheHitPercentage
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCacheMisses
public long getCacheMisses()
- Specified by:
getCacheMisses
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCacheMissPercentage
public float getCacheMissPercentage()
- Specified by:
getCacheMissPercentage
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCacheGets
public long getCacheGets()
- Specified by:
getCacheGets
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCachePuts
public long getCachePuts()
- Specified by:
getCachePuts
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCacheRemovals
public long getCacheRemovals()
- Specified by:
getCacheRemovals
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCacheEvictions
public long getCacheEvictions()
- Specified by:
getCacheEvictions
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getAverageGetTime
public float getAverageGetTime()
- Specified by:
getAverageGetTime
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getAveragePutTime
public float getAveragePutTime()
- Specified by:
getAveragePutTime
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getAverageRemoveTime
public float getAverageRemoveTime()
- Specified by:
getAverageRemoveTime
in interfacejavax.cache.management.CacheStatisticsMXBean
-
-