JMX Components available in Infinispan
JMX Components available Activation (Component that handles activating entries that have been passivated to a CacheStore by loading them into memory.) Cache (Component that acts as a manager, factory and container for caches in the system.) CacheLoader (Component that handles loading entries from a CacheStore into memory.) CacheManager (Component that acts as a manager, factory and container for caches in the system.) CacheStore (Component that handles storing of entries to a CacheStore from memory.) DeadlockDetectingLockManager (Information about the number of deadlocks that were detected) DistributionManager (Component that handles distribution of content across a cluster) Invalidation (Component responsible for invalidating entries on remote caches when entries are written to locally.) LockManager (Manager that handles MVCC locks for entries) Passivation (Component that handles passivating entries to a CacheStore on eviction.) RpcManager (Manages all remote calls to remote cache instances in the cluster.) Statistics (General statistics such as timings, hit/miss ratio, etc.) Transactions (Component that manages the cache's participation in JTA transactions.) Component Activation (Class org.infinispan.interceptors.ActivationInterceptor) Component that handles activating entries that have been passivated to a CacheStore by loading them into memory. Attributes Name Description Type Writable Activations Number of activation events String false Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics() Component Cache (Class org.infinispan.CacheDelegate) Component that acts as a manager, factory and container for caches in the system. Attributes Name Description Type Writable CacheName Returns the cache name String false CacheStatus Returns the cache status String false Operations Name Description Signature start Starts the cache. void start() stop Stops the cache. void stop() Component CacheLoader (Class org.infinispan.interceptors.CacheLoaderInterceptor) Component that handles loading entries from a CacheStore into memory. Attributes Name Description Type Writable CacheLoaderLoads Number of entries loaded from cache store long false CacheLoaderMisses Number of entries that did not exist in cache store long false Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics() Component CacheManager (Class org.infinispan.manager.DefaultCacheManager) Component that acts as a manager, factory and container for caches in the system. Attributes Name Description Type Writable CacheManagerStatus The status of the cache manager instance. String false CreatedCacheCount The total number of created caches, including the default cache. String false DefinedCacheCount The total number of defined caches, excluding the default cache. String false DefinedCacheNames The defined cache names and their statuses. The default cache is not included in this representation. String false Name The name of this cache manager String false RunningCacheCount The total number of running caches, including the default cache. String false Version Infinispan version. String false Operations Name Description Signature startCache Starts the default cache associated with this cache manager void startCache() startCache Starts a named cache from this cache manager void startCache(String p0) Component CacheStore (Class org.infinispan.interceptors.CacheStoreInterceptor) Component that handles storing of entries to a CacheStore from memory. Attributes Name Description Type Writable CacheLoaderStores number of cache loader stores long false Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics() Component DeadlockDetectingLockManager (Class org.infinispan.util.concurrent.locks.DeadlockDetectingLockManager) Information about the number of deadlocks that were detected Attributes Name Description Type Writable DetectedLocalDeadlocks Number of local detected deadlocks long false DetectedRemoteDeadlocks Number of remote deadlocks detected long false LocallyInterruptedTransactions Number of locally originated transactions that were interrupted as a deadlock situation was detected long false OverlapWithNotDeadlockAwareLockOwners Number of situtations when we try to determine a deadlock and the other lock owner is e.g. a local tx. In this scenario we cannot run the deadlock detection mechanism long false TotalNumberOfDetectedDeadlocks Total number of local detected deadlocks long false Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics() Component DistributionManager (Class org.infinispan.distribution.DistributionManagerImpl) Component that handles distribution of content across a cluster Attributes Name Description Type Writable RehashInProgress Checks whether the node is involved in a rehash. boolean false joinComplete If true, the node has successfully joined the grid and is considered to hold state. If false, the join process is still in progress. boolean false Operations Name Description Signature isAffectedByRehash Determines whether a given key is affected by an ongoing rehash, if any. boolean isAffectedByRehash(Object p0) isLocatedLocally Tells you whether a given key is local to this instance of the cache. Only works with String keys. boolean isLocatedLocally(String p0) locateKey Locates an object in a cluster. Only works with String keys. List locateKey(String p0) Component Invalidation (Class org.infinispan.interceptors.InvalidationInterceptor) Component responsible for invalidating entries on remote caches when entries are written to locally. Attributes Name Description Type Writable Invalidations Number of invalidations long false statisticsEnabled Enables or disables the gathering of statistics by this component boolean true Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics() Component LockManager (Class org.infinispan.util.concurrent.locks.LockManagerImpl) Manager that handles MVCC locks for entries Attributes Name Description Type Writable ConcurrencyLevel The concurrency level that the MVCC Lock Manager has been configured with. int false NumberOfLocksAvailable The number of exclusive locks that are available. int false NumberOfLocksHeld The number of exclusive locks that are held. int false Component Passivation (Class org.infinispan.interceptors.PassivationInterceptor) Component that handles passivating entries to a CacheStore on eviction. Attributes Name Description Type Writable Passivations Number of passivation events String false Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics() Component RpcManager (Class org.infinispan.remoting.rpc.RpcManagerImpl) Manages all remote calls to remote cache instances in the cluster. Attributes Name Description Type Writable Address The network address associated with this instance String false AverageReplicationTime The average time spent in the transport layer, in milliseconds long false ClusterSize Size of the cluster in number of nodes int false Members List of members in the cluster String false PhysicalAddresses The physical network addresses associated with this instance String false ReplicationCount Number of successful replications long false ReplicationFailures Number of failed replications long false SuccessRatio Successful replications as a ratio of total replications String false SuccessRatioFloatingPoint Successful replications as a ratio of total replications in numeric double format double false statisticsEnabled Enables or disables the gathering of statistics by this component boolean true Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics() Component Statistics (Class org.infinispan.interceptors.CacheMgmtInterceptor) General statistics such as timings, hit/miss ratio, etc. Attributes Name Description Type Writable AverageReadTime Average number of milliseconds for a read operation on the cache long false AverageWriteTime Average number of milliseconds for a write operation in the cache long false ElapsedTime Number of seconds since cache started long false Evictions Number of cache eviction operations long false HitRatio Percentage hit/(hit+miss) ratio for the cache double false Hits Number of cache attribute hits long false Misses Number of cache attribute misses long false NumberOfEntries Number of entries currently in the cache int false ReadWriteRatio read/writes ratio for the cache double false RemoveHits Number of cache removal hits long false RemoveMisses Number of cache removals where keys were not found long false Stores number of cache attribute put operations long false TimeSinceReset Number of seconds since the cache statistics were last reset long false Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics() Component Transactions (Class org.infinispan.interceptors.TxInterceptor) Component that manages the cache's participation in JTA transactions. Attributes Name Description Type Writable Commits Number of transaction commits performed since last reset long false Prepares Number of transaction prepares performed since last reset long false Rollbacks Number of transaction rollbacks performed since last reset long false statisticsEnabled Enables or disables the gathering of statistics by this component boolean true Operations Name Description Signature resetStatistics Resets statistics gathered by this component void resetStatistics()