Package one.microstream.cache
Class CacheStatisticsMXBean.Default
java.lang.Object
one.microstream.cache.CacheStatisticsMXBean.Default
- All Implemented Interfaces:
javax.cache.management.CacheStatisticsMXBean
,CacheStatisticsMXBean
- Enclosing interface:
- CacheStatisticsMXBean
public static class CacheStatisticsMXBean.Default extends Object implements CacheStatisticsMXBean
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.cache.CacheStatisticsMXBean
CacheStatisticsMXBean.Default
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
Modifier and Type Method Description void
addGetTimeNano(long duration)
void
addPutTimeNano(long duration)
void
addRemoveTimeNano(long duration)
void
clear()
float
getAverageGetTime()
float
getAveragePutTime()
float
getAverageRemoveTime()
long
getCacheEvictions()
long
getCacheGets()
float
getCacheHitPercentage()
long
getCacheHits()
long
getCacheMisses()
float
getCacheMissPercentage()
long
getCachePuts()
long
getCacheRemovals()
long
getEntryCount()
void
increaseCacheEvictions(long number)
void
increaseCacheExpiries(long number)
void
increaseCacheHits(long number)
void
increaseCacheMisses(long number)
void
increaseCachePuts(long number)
void
increaseCacheRemovals(long number)
-
Constructor Details
-
Default
public Default()
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfacejavax.cache.management.CacheStatisticsMXBean
-
getEntryCount
public long getEntryCount() -
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
-
increaseCacheRemovals
public void increaseCacheRemovals(long number)- Specified by:
increaseCacheRemovals
in interfaceCacheStatisticsMXBean
-
increaseCacheExpiries
public void increaseCacheExpiries(long number)- Specified by:
increaseCacheExpiries
in interfaceCacheStatisticsMXBean
-
increaseCachePuts
public void increaseCachePuts(long number)- Specified by:
increaseCachePuts
in interfaceCacheStatisticsMXBean
-
increaseCacheHits
public void increaseCacheHits(long number)- Specified by:
increaseCacheHits
in interfaceCacheStatisticsMXBean
-
increaseCacheMisses
public void increaseCacheMisses(long number)- Specified by:
increaseCacheMisses
in interfaceCacheStatisticsMXBean
-
increaseCacheEvictions
public void increaseCacheEvictions(long number)- Specified by:
increaseCacheEvictions
in interfaceCacheStatisticsMXBean
-
addGetTimeNano
public void addGetTimeNano(long duration)- Specified by:
addGetTimeNano
in interfaceCacheStatisticsMXBean
-
addPutTimeNano
public void addPutTimeNano(long duration)- Specified by:
addPutTimeNano
in interfaceCacheStatisticsMXBean
-
addRemoveTimeNano
public void addRemoveTimeNano(long duration)- Specified by:
addRemoveTimeNano
in interfaceCacheStatisticsMXBean
-