Package org.redisson.jcache.bean
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 Summary
Constructors Constructor Description JCacheStatisticsMXBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEvictions(long value)
void
addGetTime(long value)
void
addHits(long value)
void
addMisses(long value)
void
addPuts(long value)
void
addPutTime(long value)
void
addRemovals(long value)
void
addRemoveTime(long value)
void
clear()
float
getAverageGetTime()
float
getAveragePutTime()
float
getAverageRemoveTime()
long
getCacheEvictions()
long
getCacheGets()
float
getCacheHitPercentage()
long
getCacheHits()
long
getCacheMisses()
float
getCacheMissPercentage()
long
getCachePuts()
long
getCacheRemovals()
-
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfacejavax.cache.management.CacheStatisticsMXBean
-
addHits
public void addHits(long value)
-
getCacheHits
public long getCacheHits()
- Specified by:
getCacheHits
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getCacheHitPercentage
public float getCacheHitPercentage()
- Specified by:
getCacheHitPercentage
in interfacejavax.cache.management.CacheStatisticsMXBean
-
addMisses
public void addMisses(long value)
-
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
-
addPuts
public void addPuts(long value)
-
getCachePuts
public long getCachePuts()
- Specified by:
getCachePuts
in interfacejavax.cache.management.CacheStatisticsMXBean
-
addRemovals
public void addRemovals(long value)
-
getCacheRemovals
public long getCacheRemovals()
- Specified by:
getCacheRemovals
in interfacejavax.cache.management.CacheStatisticsMXBean
-
addEvictions
public void addEvictions(long value)
-
getCacheEvictions
public long getCacheEvictions()
- Specified by:
getCacheEvictions
in interfacejavax.cache.management.CacheStatisticsMXBean
-
addGetTime
public void addGetTime(long value)
-
getAverageGetTime
public float getAverageGetTime()
- Specified by:
getAverageGetTime
in interfacejavax.cache.management.CacheStatisticsMXBean
-
addPutTime
public void addPutTime(long value)
-
getAveragePutTime
public float getAveragePutTime()
- Specified by:
getAveragePutTime
in interfacejavax.cache.management.CacheStatisticsMXBean
-
addRemoveTime
public void addRemoveTime(long value)
-
getAverageRemoveTime
public float getAverageRemoveTime()
- Specified by:
getAverageRemoveTime
in interfacejavax.cache.management.CacheStatisticsMXBean
-
-