Package org.infinispan.client.hotrod.jmx
Interface RemoteCacheClientStatisticsMXBean
- All Known Implementing Classes:
ClientStatistics
public interface RemoteCacheClientStatisticsMXBean
RemoteCache client-side statistics (such as number of connections)
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the average read time, in milliseconds, for a remote cache.longReturns the average time, in milliseconds, for remove operations in a remote cache.longReturns the average store time, in milliseconds, for a remote cache.longReturns the number of near-cache hits.longReturns the number of near-cache invalidations.longReturns the number of near-cache misses.longReturns the number of entries currently stored in the near-cache.longReturns the number of hits for a remote cache.longReturns the number of misses for a remote cache.longReturns the number of removes for a remote cache.longReturns the number of remote cache stores (put, replace) that the client applied.longReturns the time, in seconds, since the last reset.voidResets statistics.
-
Method Details
-
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()
-