JMX Components available






Component Activation (Class org.infinispan.eviction.ActivationManagerImpl)
Component that handles activating entries that have been passivated to a CacheStore by loading them into memory.
Attributes
Name Description Type Writable
ActivationsNumber of activation eventsStringfalse
statisticsEnabledEnables or disables the gathering of statistics by this componentbooleantrue
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()


Component Cache (Class org.infinispan.CacheImpl)
Component that represents an individual cache instance.
Attributes
Name Description Type Writable
CacheNameReturns the cache nameStringfalse
CacheStatusReturns the cache statusStringfalse
ConfigurationAsXmlStringReturns the cache configuration as XML stringStringfalse
Operations
Name Description Signature
clearClears the cachevoid clear()
startStarts the cache.void start()
stopStops 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
CacheLoaderLoadsNumber of entries loaded from cache storelongfalse
CacheLoaderMissesNumber of entries that did not exist in cache storelongfalse
CacheLoadersReturns a collection of cache loader types which configured and enabledCollectionfalse
Operations
Name Description Signature
disableCacheLoaderDisable all cache loaders of a given type, where type is a fully qualified class name of the cache loader to disablevoid disableCacheLoader(String p0)
resetStatisticsResets statistics gathered by this componentvoid 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
CacheManagerStatusThe status of the cache manager instance.Stringfalse
ClusterMembersList of members in the clusterStringfalse
ClusterNameCluster nameStringfalse
ClusterSizeSize of the cluster in number of nodesintfalse
CreatedCacheCountThe total number of created caches, including the default cache.Stringfalse
DefinedCacheCountThe total number of defined caches, excluding the default cache.Stringfalse
DefinedCacheNamesThe defined cache names and their statuses. The default cache is not included in this representation.Stringfalse
NameThe name of this cache managerStringfalse
NodeAddressThe network address associated with this instanceStringfalse
PhysicalAddressesThe physical network addresses associated with this instanceStringfalse
RunningCacheCountThe total number of running caches, including the default cache.Stringfalse
VersionInfinispan version.Stringfalse
Operations
Name Description Signature
startCacheStarts the default cache associated with this cache managervoid startCache()
startCacheStarts a named cache from this cache managervoid 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
CacheLoaderStoresnumber of cache loader storeslongfalse
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()


Component DeadlockDetectingLockManager (Class org.infinispan.util.concurrent.locks.DeadlockDetectingLockManager)
Information about the number of deadlocks that were detected
Attributes
Name Description Type Writable
DetectedLocalDeadlocksNumber of local transaction that were roll backed due to deadlockslongfalse
DetectedRemoteDeadlocksNumber of remote transaction that were roll backed due to deadlockslongfalse
LocallyInterruptedTransactionsNumber of locally originated transactions that were interrupted as a deadlock situation was detectedlongfalse
OverlapWithNotDeadlockAwareLockOwnersNumber of situations when we try to determine a deadlock and the other lock owner is NOT a transaction. In this scenario we cannot run the deadlock detection mechanismlongfalse
TotalNumberOfDetectedDeadlocksTotal number of local detected deadlockslongfalse
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()


Component DistributionManager (Class org.infinispan.distribution.DistributionManagerImpl)
Component that handles distribution of content across a cluster
Operations
Name Description Signature
isAffectedByRehashDetermines whether a given key is affected by an ongoing rehash, if any.boolean isAffectedByRehash(Object p0)
isLocatedLocallyTells you whether a given key is local to this instance of the cache. Only works with String keys.boolean isLocatedLocally(String p0)
locateKeyLocates an object in a cluster. Only works with String keys.List locateKey(String p0)


Component Interpreter (Class org.infinispan.cli.interpreter.Interpreter)
Interpreter component which executes CLI operations
Attributes
Name Description Type Writable
CacheNamesRetrieves a list of caches for the cache managerStringfalse
Operations
Name Description Signature
createSessionIdCreates a new interpreter sessionString createSessionId(String p0)
executeParses and executes IspnQL statementsMap execute(String p0, String p1)


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
InvalidationsNumber of invalidationslongfalse
StatisticsEnabledbooleantrue
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()


Component JmxStatsCommandInterceptor (Class org.infinispan.interceptors.base.JmxStatsCommandInterceptor)
Attributes
Name Description Type Writable
statisticsEnabledEnables or disables the gathering of statistics by this componentbooleantrue
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()


Component LocalTopologyManager (Class org.infinispan.topology.LocalTopologyManagerImpl)
Controls the cache membership and state transfer
Attributes
Name Description Type Writable
RebalancingEnabledRebalancing enabledbooleantrue


Component LockManager (Class org.infinispan.util.concurrent.locks.LockManagerImpl)
Manager that handles MVCC locks for entries
Attributes
Name Description Type Writable
ConcurrencyLevelThe concurrency level that the MVCC Lock Manager has been configured with.intfalse
NumberOfLocksAvailableThe number of exclusive locks that are available.intfalse
NumberOfLocksHeldThe number of exclusive locks that are held.intfalse


Component MassIndexer (Class org.infinispan.query.MassIndexer)
Component that rebuilds the index from the cached data
Operations
Name Description Signature
startStarts rebuilding the indexvoid start()


Component Passivation (Class org.infinispan.interceptors.PassivationInterceptor)
Component that handles passivating entries to a CacheStore on eviction.
Attributes
Name Description Type Writable
PassivationsNumber of passivation eventsStringfalse
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()


Component RecoveryAdmin (Class org.infinispan.transaction.xa.recovery.RecoveryAdminOperations)
Exposes tooling for handling transaction recovery.
Operations
Name Description Signature
forceCommitForces the commit of an in-doubt transactionString forceCommit(long p0)
forceCommitForces the commit of an in-doubt transactionString forceCommit(int p0, byte p1, byte p2)
forceRollbackForces the rollback of an in-doubt transactionString forceRollback(long p0)
forceRollbackForces the rollback of an in-doubt transactionString forceRollback(int p0, byte p1, byte p2)
forgetRemoves recovery info for the given transaction.String forget(int p0, byte p1, byte p2)
forgetRemoves recovery info for the given transaction.String forget(long p0)
showInDoubtTransactionsShows all the prepared transactions for which the originating node crashedString showInDoubtTransactions()


Component RollingUpgradeManager (Class org.infinispan.upgrade.RollingUpgradeManager)
This component handles the control hooks to handle migrating data from one version of Infinispan to another
Operations
Name Description Signature
disconnectSourceDisconnects the target cluster from the source cluster according to the specified migratorvoid disconnectSource(String p0)
recordKnownGlobalKeysetDumps the global known keyset to a well-known key for retrieval by the upgrade processvoid recordKnownGlobalKeyset()
synchronizeDataSynchronizes data from the old cluster to this using the specified migratorlong synchronizeData(String p0)


Component RpcManager (Class org.infinispan.remoting.rpc.RpcManagerImpl)
Manages all remote calls to remote cache instances in the cluster.
Attributes
Name Description Type Writable
AverageReplicationTimeThe average time spent in the transport layer, in millisecondslongfalse
CommittedViewAsStringRetrieves the committed view.Stringfalse
PendingViewAsStringRetrieves the pending view.Stringfalse
ReplicationCountNumber of successful replicationslongfalse
ReplicationFailuresNumber of failed replicationslongfalse
StatisticsEnabledStatistics enabledbooleantrue
SuccessRatioSuccessful replications as a ratio of total replicationsStringfalse
SuccessRatioFloatingPointSuccessful replications as a ratio of total replications in numeric double formatdoublefalse
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()
setStatisticsEnabledvoid setStatisticsEnabled(boolean p0)


Component StateTransferManager (Class org.infinispan.statetransfer.StateTransferManager)
Attributes
Name Description Type Writable
JoinCompleteIf true, the node has successfully joined the grid and is considered to hold state. If false, the join process is still in progress.booleanfalse
StateTransferInProgressChecks whether there is a pending inbound state transfer on this cluster member.booleanfalse


Component StateTransferManager (Class org.infinispan.statetransfer.StateTransferManagerImpl)
Component that handles state transfer


Component Statistics (Class org.infinispan.interceptors.CacheMgmtInterceptor)
General statistics such as timings, hit/miss ratio, etc.
Attributes
Name Description Type Writable
AverageReadTimeAverage number of milliseconds for a read operation on the cachelongfalse
AverageWriteTimeAverage number of milliseconds for a write operation in the cachelongfalse
ElapsedTimeNumber of seconds since cache startedlongfalse
EvictionsNumber of cache eviction operationslongfalse
HitRatioPercentage hit/(hit+miss) ratio for the cachedoublefalse
HitsNumber of cache attribute hitslongfalse
MissesNumber of cache attribute misseslongfalse
NumberOfEntriesNumber of entries currently in the cacheintfalse
ReadWriteRatioread/writes ratio for the cachedoublefalse
RemoveHitsNumber of cache removal hitslongfalse
RemoveMissesNumber of cache removals where keys were not foundlongfalse
Storesnumber of cache attribute put operationslongfalse
TimeSinceResetNumber of seconds since the cache statistics were last resetlongfalse
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()


Component Transactions (Class org.infinispan.interceptors.TxInterceptor)
Component that manages the cache's participation in JTA transactions.
Attributes
Name Description Type Writable
CommitsNumber of transaction commits performed since last resetlongfalse
PreparesNumber of transaction prepares performed since last resetlongfalse
RollbacksNumber of transaction rollbacks performed since last resetlongfalse
StatisticsEnabledbooleantrue
Operations
Name Description Signature
resetStatisticsResets statistics gathered by this componentvoid resetStatistics()
setStatisticsEnabledvoid setStatisticsEnabled(boolean p0)


Component Transport (Class org.infinispan.server.core.transport.Transport)
Transport component manages read and write operations to/from server.
Attributes
Name Description Type Writable
HostNameReturns the host to which the transport binds.Stringfalse
IdleTimeoutReturns the idle timeout.Stringfalse
NumberOfGlobalConnectionsReturns a count of active connections in the cluster. This operation will make remote calls to aggregate results, so latency might have an impact on the speed of calculation of this attribute.Integerfalse
NumberOfLocalConnectionsReturns a count of active connections this server.Integerfalse
NumberWorkerThreadsReturns the number of worker threads.Stringfalse
PortReturns the port to which the transport binds.Stringfalse
ReceiveBufferSizeReturns the receive buffer size.Stringfalse
SendBufferSizeReturns the send buffer size.Stringfalse
TcpNoDelayReturns whether TCP no delay was configured or not.Stringfalse
TotalBytesReadReturns the total number of bytes read by the server from clients which includes both protocol and user information.Stringfalse
TotalBytesWrittenReturns the total number of bytes written by the server back to clients which includes both protocol and user information.Stringfalse


Component XSiteAdmin (Class org.infinispan.xsite.XSiteAdminOperations)
Exposes tooling for handling backing up data to remote sites.
Operations
Name Description Signature
amendTakeOfflineAmends the values for 'TakeOffline' functionality on all the nodes in the cluster.String amendTakeOffline(String p0, int p1, long p2)
bringSiteOnlineBrings the given site back online on all the cluster.String bringSiteOnline(String p0)
getTakeOfflineAfterFailuresReturns the value of the 'afterFailures' for the 'TakeOffline' functionality.String getTakeOfflineAfterFailures(String p0)
getTakeOfflineMinTimeToWaitReturns the value of the 'minTimeToWait' for the 'TakeOffline' functionality.String getTakeOfflineMinTimeToWait(String p0)
setTakeOfflineAfterFailuresAmends the values for 'afterFailures' for the 'TakeOffline' functionality on all the nodes in the cluster.String setTakeOfflineAfterFailures(String p0, int p1)
setTakeOfflineMinTimeToWaitAmends the values for 'minTimeToWait' for the 'TakeOffline' functionality on all the nodes in the cluster.String setTakeOfflineMinTimeToWait(String p0, long p1)
siteStatusCheck whether the given backup site is offline or not.String siteStatus(String p0)
statusReturns the the status(offline/online) of all the configured backup sites.String status()
takeSiteOfflineTakes this site offline in all nodes in the cluster.String takeSiteOffline(String p0)



Copyright © 2017
JBoss, a division of Red Hat. All Rights Reserved.