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 missesvoid 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) operationvoid 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.CacheStatisticsMXBean
long getCacheHits()
getCacheHits
in interface javax.cache.management.CacheStatisticsMXBean
float getCacheHitPercentage()
getCacheHitPercentage
in interface javax.cache.management.CacheStatisticsMXBean
long getCacheMisses()
getCacheMisses
in interface javax.cache.management.CacheStatisticsMXBean
float getCacheMissPercentage()
getCacheMissPercentage
in interface javax.cache.management.CacheStatisticsMXBean
long getCacheGets()
getCacheGets
in interface javax.cache.management.CacheStatisticsMXBean
long getCachePuts()
getCachePuts
in interface javax.cache.management.CacheStatisticsMXBean
long getCacheRemovals()
getCacheRemovals
in interface javax.cache.management.CacheStatisticsMXBean
long getCacheEvictions()
getCacheEvictions
in interface javax.cache.management.CacheStatisticsMXBean
float getAverageGetTime()
getAverageGetTime
in interface javax.cache.management.CacheStatisticsMXBean
float getAveragePutTime()
getAveragePutTime
in interface javax.cache.management.CacheStatisticsMXBean
float getAverageRemoveTime()
getAverageRemoveTime
in interface javax.cache.management.CacheStatisticsMXBean