C.7. ClusterCacheStats

org.infinispan.stats.impl.ClusterCacheStatsImpl
The ClusterCacheStats component contains statistics such as timings, hit/miss ratio, and operation information for the whole cluster.

Table C.12. Attributes

Name Description Type Writable
activations The total number of activations in the cluster. long No
averageReadTime Cluster wide total average number of milliseconds for a read operation on the cache. long No
averageRemoveTime Cluster wide total average number of milliseconds for a remove operation in the cache. long No
averageWriteTime Cluster wide average number of milliseconds for a write operation in the cache. long No
cacheLoaderLoads The total number of cacheloader load operations in the cluster. long No
cacheLoaderMisses The total number of cacheloader load misses in the cluster. long No
evictions Cluster wide total number of cache eviction operations. long No
hitRatio Cluster wide total percentage hit/(hit+miss) ratio for this cache. double No
hits Cluster wide total number of cache hits. long No
invalidations The total number of invalidations in the cluster. long No
misses Cluster wide total number of cache attribute misses. long No
numberOfEntries Cluster wide total number of entries currently in the cache. int No
numberOfLocksAvailable Total number of exclusive locks available in the cluster. int No
numberOfLocksHeld The total number of locks held in the cluster. int No
passivations The total number of passivations in the cluster. long No
readWriteRatio Cluster wide read/writes ratio for the cache. double No
removeHits Cluster wide total number of cache removal hits. double No
removeMisses Cluster wide total number of cache removals where keys were not found. long No
statisticsEnabled Enables or disables the gathering of statistics by this component. boolean Yes
storeWrites The total number of cachestore store operations in the cluster. long No
stores Cluster wide total number of cache attribute put operations. long No
timeSinceStart Number of seconds since the first cache node started. long No

Table C.13. Operations

Name Description Signature
setStaleStatsTreshold Sets the threshold for cluster wide stats refresh (in milliseconds). void setStaleStatsTreshold(long staleStatsThreshold)
resetStatistics Resets statistics gathered by this component. void resetStatistics()