JBoss.orgCommunity Documentation

Chapter 12. JMX References

12.1. JBoss Cache Statistics
12.2. JMX MBean Notifications

The following table describes the statistics currently available and may be collected via JMX.

Table 12.1. JBoss Cache Management Statistics

MBean NameAttributeTypeDescription
ActivationInterceptorActivationslongNumber of passivated nodes that have been activated.
CacheLoaderInterceptorCacheLoaderLoadslongNumber of nodes loaded through a cache loader.
CacheLoaderInterceptorCacheLoaderMisseslongNumber of unsuccessful attempts to load a node through a cache loader.
CacheMgmtInterceptorHitslongNumber of successful attribute retrievals.
CacheMgmtInterceptorMisseslongNumber of unsuccessful attribute retrievals.
CacheMgmtInterceptorStoreslongNumber of attribute store operations.
CacheMgmtInterceptorEvictionslongNumber of node evictions.
CacheMgmtInterceptorNumberOfAttributesintNumber of attributes currently cached.
CacheMgmtInterceptorNumberOfNodesintNumber of nodes currently cached.
CacheMgmtInterceptorElapsedTimelongNumber of seconds that the cache has been running.
CacheMgmtInterceptorTimeSinceResetlongNumber of seconds since the cache statistics have been reset.
CacheMgmtInterceptorAverageReadTimelongAverage time in milliseconds to retrieve a cache attribute, including unsuccessful attribute retrievals.
CacheMgmtInterceptorAverageWriteTimelongAverage time in milliseconds to write a cache attribute.
CacheMgmtInterceptorHitMissRatiodoubleRatio of hits to hits and misses. A hit is a get attribute operation that results in an object being returned to the client. The retrieval may be from a cache loader if the entry isn't in the local cache.
CacheMgmtInterceptorReadWriteRatiodoubleRatio of read operations to write operations. This is the ratio of cache hits and misses to cache stores.
CacheStoreInterceptorCacheLoaderStoreslongNumber of nodes written to the cache loader.
InvalidationInterceptorInvalidationslongNumber of cached nodes that have been invalidated.
PassivationInterceptorPassivationslongNumber of cached nodes that have been passivated.
TxInterceptorPrepareslongNumber of transaction prepare operations performed by this interceptor.
TxInterceptorCommitslongNumber of transaction commit operations performed by this interceptor.
TxInterceptorRollbackslongNumber of transaction rollbacks operations performed by this interceptor.

The following table depicts the JMX notifications available for JBoss Cache as well as the cache events to which they correspond. These are the notifications that can be received through the CacheJmxWrapper MBean. Each notification represents a single event published by JBoss Cache and provides user data corresponding to the parameters of the event.