JMX Components
Name | Description |
---|---|
RemoteCacheClientStatisticsMXBean | RemoteCache client-side statistics (such as number of connections) |
RemoteCacheManagerMXBean | RemoteCacheManager client-side statistics and operations |
RemoteCacheClientStatisticsMXBean
RemoteCache client-side statistics (such as number of connections)
Attributes Name Description Type Writable AverageRemoteReadTime Returns the average read time, in milliseconds, for a remote cache. long false AverageRemoteRemovesTime Returns the average time, in milliseconds, for remove operations in a remote cache. long false AverageRemoteStoreTime Returns the average store time, in milliseconds, for a remote cache. long false NearCacheHits Returns the number of near-cache hits. Returns a value of 0 if near-caching is disabled. long false NearCacheInvalidations Returns the number of near-cache invalidations. Returns a value of 0 if near-caching is disabled. long false NearCacheMisses Returns the number of near-cache misses. Returns a value of 0 if near-caching is disabled. long false NearCacheSize Returns the number of entries currently stored in the near-cache. Returns a value of 0 if near-caching is disabled. long false RemoteHits Returns the number of hits for a remote cache. long false RemoteMisses Returns the number of misses for a remote cache. long false RemoteRemoves Returns the number of removes for a remote cache. long false RemoteStores 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. long false TimeSinceReset Returns the time, in seconds, since the last reset. See {@link #resetStatistics()} long false Operations Name Description Signature resetStatistics Resets statistics. void resetStatistics()
RemoteCacheManagerMXBean
RemoteCacheManager client-side statistics and operations
Attributes Name Description Type Writable ActiveConnectionCount Returns the number of active connections int false ConnectionCount Returns the total number of connections int false IdleConnectionCount Returns the number of idle connections int false Retries Returns the total number of retries that have been executed long false Servers Returns a list of servers to which the client is currently connected in the format of ip_address:port_number. java.lang.String[] false Operations Name Description Signature switchToCluster Switch remote cache manager to a different cluster, previously declared via configuration. If the switch was completed successfully, this method returns {@code true}, otherwise it returns {@code false}. boolean switchToCluster(java.lang.String clusterName) switchToDefaultCluster Switch remote cache manager to a the default cluster, previously declared via configuration. If the switch was completed successfully, this method returns {@code true}, otherwise it returns {@code false}. boolean switchToDefaultCluster()