Package org.infinispan.stats
Interface ClusterCacheStats
-
- All Superinterfaces:
Stats
- All Known Implementing Classes:
ClusterCacheStatsImpl
public interface ClusterCacheStats extends Stats
Similar toStats
but cluster wide.- Since:
- 7.1
- Author:
- Vladimir Blagojevic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getActivations()
long
getCacheLoaderLoads()
long
getCacheLoaderMisses()
double
getHitRatio()
long
getInvalidations()
int
getNumberOfLocksAvailable()
int
getNumberOfLocksHeld()
long
getPassivations()
double
getReadWriteRatio()
long
getStaleStatsThreshold()
long
getStoreWrites()
void
reset()
Reset the collected statisticsvoid
setStaleStatsThreshold(long threshold)
-
Methods inherited from interface org.infinispan.stats.Stats
getAverageReadTime, getAverageReadTimeNanos, getAverageRemoveTime, getAverageRemoveTimeNanos, getAverageWriteTime, getAverageWriteTimeNanos, getCurrentNumberOfEntries, getCurrentNumberOfEntriesInMemory, getDataMemoryUsed, getEvictions, getHits, getMisses, getOffHeapMemoryUsed, getRemoveHits, getRemoveMisses, getRequiredMinimumNumberOfNodes, getRetrievals, getStores, getTimeSinceReset, getTimeSinceStart, getTotalNumberOfEntries, reset, setStatisticsEnabled
-
-
-
-
Method Detail
-
getReadWriteRatio
double getReadWriteRatio()
- Returns:
- cluster wide read/writes ratio for the cache
-
getHitRatio
double getHitRatio()
- Returns:
- cluster wide total percentage hit/(hit+miss) ratio for this cache
-
getNumberOfLocksAvailable
int getNumberOfLocksAvailable()
- Returns:
- the total number of exclusive locks available in the cluster
-
getNumberOfLocksHeld
int getNumberOfLocksHeld()
- Returns:
- the total number of exclusive locks held in the cluster
-
getInvalidations
long getInvalidations()
- Returns:
- the total number of invalidations in the cluster
-
getActivations
long getActivations()
- Returns:
- the total number of actiavtions in the cluster
-
getPassivations
long getPassivations()
- Returns:
- the total number of passivations in the cluster
-
getCacheLoaderLoads
long getCacheLoaderLoads()
- Returns:
- the total number of cacheloader load operations in the cluster
-
getCacheLoaderMisses
long getCacheLoaderMisses()
- Returns:
- the total number of cacheloader misses in the cluster
-
getStoreWrites
long getStoreWrites()
- Returns:
- the total number of cachewriter store operations in the cluster
-
getStaleStatsThreshold
long getStaleStatsThreshold()
- Returns:
- The time in milliseconds, to wait between requests before re-retrieving cluster wide stats
-
setStaleStatsThreshold
void setStaleStatsThreshold(long threshold)
- Parameters:
threshold
- the time in milliseconds, to wait between requests before re-retrieving cluster wide stats
-
reset
void reset()
Reset the collected statistics
-
-