Package org.infinispan.client.hotrod.jmx
Interface RemoteCacheClientStatisticsMXBean
-
public interface RemoteCacheClientStatisticsMXBean
RemoteCache client-side statistics (such as number of connections)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAverageRemoteReadTime()
Returns the average read time, in milliseconds, for a remote cache.long
getAverageRemoteRemovesTime()
Returns the average time, in milliseconds, for remove operations in a remote cache.long
getAverageRemoteStoreTime()
Returns the average store time, in milliseconds, for a remote cache.long
getNearCacheHits()
Returns the number of near-cache hits.long
getNearCacheInvalidations()
Returns the number of near-cache invalidations.long
getNearCacheMisses()
Returns the number of near-cache misses.long
getNearCacheSize()
Returns the number of entries currently stored in the near-cache.long
getRemoteHits()
Returns the number of hits for a remote cache.long
getRemoteMisses()
Returns the number of misses for a remote cache.long
getRemoteRemoves()
Returns the number of removes for a remote cache.long
getRemoteStores()
Returns the number of remote cache stores (put, replace) that the client applied.long
getTimeSinceReset()
Returns the time, in seconds, since the last reset.void
resetStatistics()
Resets statistics.
-
-
-
Method Detail
-
getRemoteHits
long getRemoteHits()
Returns the number of hits for a remote cache.
-
getRemoteMisses
long getRemoteMisses()
Returns the number of misses for a remote cache.
-
getAverageRemoteReadTime
long getAverageRemoteReadTime()
Returns the average read time, in milliseconds, for a remote cache.
-
getRemoteStores
long getRemoteStores()
Returns the number of remote cache stores (put, replace) that the client applied. Failed conditional operations do not increase the count of entries in the remote cache. Put operations always increase the count even if an operation replaces an equal value.
-
getAverageRemoteStoreTime
long getAverageRemoteStoreTime()
Returns the average store time, in milliseconds, for a remote cache.
-
getRemoteRemoves
long getRemoteRemoves()
Returns the number of removes for a remote cache.
-
getAverageRemoteRemovesTime
long getAverageRemoteRemovesTime()
Returns the average time, in milliseconds, for remove operations in a remote cache.
-
getNearCacheHits
long getNearCacheHits()
Returns the number of near-cache hits. Returns a value of 0 if near-caching is disabled.
-
getNearCacheMisses
long getNearCacheMisses()
Returns the number of near-cache misses. Returns a value of 0 if near-caching is disabled.
-
getNearCacheInvalidations
long getNearCacheInvalidations()
Returns the number of near-cache invalidations. Returns a value of 0 if near-caching is disabled.
-
getNearCacheSize
long getNearCacheSize()
Returns the number of entries currently stored in the near-cache. Returns a value of 0 if near-caching is disabled.
-
resetStatistics
void resetStatistics()
Resets statistics.
-
getTimeSinceReset
long getTimeSinceReset()
Returns the time, in seconds, since the last reset. SeeresetStatistics()
-
-