public interface JCacheStatistics
extends javax.cache.management.CacheStatisticsMXBean
| Modifier and Type | Method and Description |
|---|---|
JCacheStatistics |
add(JCacheStatistics stats)
add
JCacheStatistics stats to this instance. |
void |
clear() |
float |
getAverageGetTime() |
float |
getAveragePutTime() |
float |
getAverageRemoveTime() |
long |
getCacheEvictions() |
long |
getCacheGets() |
float |
getCacheHitPercentage() |
long |
getCacheHits() |
long |
getCacheHitsMillis()
get time elapsed in milliseconds performing operations resulting in a hit
|
long |
getCacheMisses() |
long |
getCacheMissesMillis()
get time elapsed in milliseconds performing operations resulting in a miss
|
float |
getCacheMissPercentage() |
long |
getCachePuts() |
long |
getCachePutsMillis()
get time elapsed in milliseconds performing operations resulting in a put
|
long |
getCacheRemovals() |
long |
getCacheRemoveMillis()
get time elapsed in milliseconds performing operations resulting in a remove
|
JCacheIdentifier |
getIdentifier()
Get unique JCacheIdentifier for cache that these statistics are for.
|
void |
registerHits(int count, long lStartMillis)
add Cache Hits of count and compute time in cache hits
|
void |
registerHitsCompleted(long lStartMillis)
Record elapsed time in milliseconds performing hit(s)
|
void |
registerMisses(int count, long lStartMillis)
add Cache Misses of count and compute time in cache misses
|
void |
registerMissesCompleted(long lStartMillis)
Record elapsed time in milliseconds performing miss(es)
|
void |
registerPuts(long count, long lStartMillis)
add Cache Puts of count and compute time in cache puts
|
void |
registerPutsCompleted(long lStartMillis)
Record elapsed time performing puts
|
void |
registerRemove()
register a Cache Remove
|
void |
registerRemoveCompleted(long lStartMillis)
Record elapsed time in milliseconds performing removal(s)
|
void |
registerRemoves(long count, long lStartMillis)
add Cache Removals of count and compute time in cache removals
|
void registerHits(int count,
long lStartMillis)
count - number of cache entry lookup hitslStartMillis - start time in milliseconds for computing time performing lookup when there were hits.
void registerMisses(int count,
long lStartMillis)
count - number of cache entry lookup misseslStartMillis - start time of cache entry lookup that resulted in misses
void registerPuts(long count,
long lStartMillis)
count - number of cache entry putslStartMillis - start time in milliseconds of put(s) operationvoid registerPutsCompleted(long lStartMillis)
lStartMillis - start time in milliseconds of put(s) operation
void registerRemoves(long count,
long lStartMillis)
count - number of cache entry removalslStartMillis - start time in milliseconds of removal(s) operationvoid registerRemove()
void registerHitsCompleted(long lStartMillis)
lStartMillis - start time in milliseconds of operation that resulted in a hit(s)void registerMissesCompleted(long lStartMillis)
lStartMillis - start time in milliseconds of operation that resulted in miss(es)void registerRemoveCompleted(long lStartMillis)
lStartMillis - start time in milliseconds of operation that resulted in removal(s)JCacheIdentifier getIdentifier()
JCacheStatistics add(JCacheStatistics stats)
JCacheStatistics stats to this instance.stats - from another data-enabled serverlong getCacheHitsMillis()
long getCacheMissesMillis()
long getCachePutsMillis()
long getCacheRemoveMillis()
void clear()
clear in interface javax.cache.management.CacheStatisticsMXBeanlong getCacheHits()
getCacheHits in interface javax.cache.management.CacheStatisticsMXBeanfloat getCacheHitPercentage()
getCacheHitPercentage in interface javax.cache.management.CacheStatisticsMXBeanlong getCacheMisses()
getCacheMisses in interface javax.cache.management.CacheStatisticsMXBeanfloat getCacheMissPercentage()
getCacheMissPercentage in interface javax.cache.management.CacheStatisticsMXBeanlong getCacheGets()
getCacheGets in interface javax.cache.management.CacheStatisticsMXBeanlong getCachePuts()
getCachePuts in interface javax.cache.management.CacheStatisticsMXBeanlong getCacheRemovals()
getCacheRemovals in interface javax.cache.management.CacheStatisticsMXBeanlong getCacheEvictions()
getCacheEvictions in interface javax.cache.management.CacheStatisticsMXBeanfloat getAverageGetTime()
getAverageGetTime in interface javax.cache.management.CacheStatisticsMXBeanfloat getAveragePutTime()
getAveragePutTime in interface javax.cache.management.CacheStatisticsMXBeanfloat getAverageRemoveTime()
getAverageRemoveTime in interface javax.cache.management.CacheStatisticsMXBean