Cache statistics are accumulated since the time a cache is created.
Each CacheStatistics represents a named cache's per node statistics data.
Sample code for accessing to node's local cache statistics:
ICache<String , SessionData> iCache = cache.unwrap( ICache.class ); CacheStatistics nodeLocalCacheStatistics = iCache.getLocalCacheStatistics(); long cacheHits = nodeLocalCacheStatistics.getCacheHits();
@since 3.3.1
java.lang.Object
. All per-class statistics depends on determining the runtime type of the instance being cached. If it is not possible to determine the runtime type from the given context, the statistics is registered under generic java.lang.Object
.
@since 1.3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|