Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.6. JBossCache - Subsystem Server

Overview

Table 3.4127. Overview

Description:The JBoss Cache instances on this server
Singleton: yes
Plugin:JBossCache

Child Resource Types

Autodiscovery Process Scans

none

Connection Properties

none

Metrics

none

Configuration Properties

none

Operations

none

Package Types

none

3.6.1. JBossCache - Service

Overview

Table 3.4128. Overview

Description:Statistics for JBossCache
Singleton: no
Plugin:JBossCache

Note

Please note that the number of possible metrics varies depending on the configuration and flavour of Cache used.

Child Resource Types

Connection Properties

Table 3.4129. 

NameDescriptionRequiredInternal Name
Object Name  yes objectName
Is Tree CacheIs this a TreeCache instance or a POJO Cache yes isTreeCache

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Metrics

Table 3.4130. Metrics

NameTypeDescriptionInternal Name
Number of NodesmeasurementNumber of Nodes:numberOfNodes
ActivationsmeasurementNumber of passivated nodes that have been activated.ActivationInterceptor:activations
Cache Loader LoadsmeasurementNumber of nodes loaded through a cache loader.CacheLoaderInterceptor:cacheLoaderLoads
Cache Loader Loads per MinutemeasurementNumber of nodes loaded through a cache loader.CacheLoaderInterceptor:cacheLoaderLoads
Cache Loader MissesmeasurementNumber of unsuccessful attempts to load a node through a cache loader.CacheLoaderInterceptor:cacheLoaderMisses
Cache Loader Misses per MinutemeasurementNumber of unsuccessful attempts to load a node through a cache loader.CacheLoaderInterceptor:cacheLoaderMisses
Cache HitsmeasurementNumber of successful attribute retrievals.CacheMgmtInterceptor:hits
Cache Hits per MinutemeasurementNumber of successful attribute retrievals.CacheMgmtInterceptor:hits
Cache MissesmeasurementNumber of unsuccessful attribute retrievals.CacheMgmtInterceptor:misses
Cache Misses per MinutemeasurementNumber of unsuccessful attribute retrievals.CacheMgmtInterceptor:misses
Hit-miss-ratiomeasurementRatio 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.CacheMgmtInterceptor:hitMissRatio
Read-write-ratiomeasurementRatio of read operations to write operations. This is the ratio of cache hits and misses to cache stores.CacheMgmtInterceptor:readWriteRatio
Cache StoresmeasurementNumber of attribute store operations.CacheMgmtInterceptor:stores
Cache Stores per MinutemeasurementNumber of attribute store operations.CacheMgmtInterceptor:stores
Cache EvictionsmeasurementNumber of node evictions.CacheMgmtInterceptor:evictions
Cache Evictions per MinutemeasurementNumber of node evictions.CacheMgmtInterceptor:evictions
Number of AttributesmeasurementNumber of attributes currently cached.CacheMgmtInterceptor:numberOfAttributes
Number of Nodes cachedmeasurementNumber of nodes currently cached.CacheMgmtInterceptor:numberOfNodes
Elapsed TimemeasurementNumber of seconds that the cache has been running.CacheMgmtInterceptor:elapsedTime
Elapsed Time per MinutemeasurementNumber of seconds that the cache has been running.CacheMgmtInterceptor:elapsedTime
Time since resetmeasurementNumber of seconds since the cache statistics have been reset.CacheMgmtInterceptor:timeSinceReset
Time since reset per MinutemeasurementNumber of seconds since the cache statistics have been reset.CacheMgmtInterceptor:timeSinceReset
Average Read TimemeasurementAverage time in milliseconds to retrieve a cache attribute, including unsuccessful attribute retrievals.CacheMgmtInterceptor:averageReadTime
Average Write TimemeasurementAverage time in milliseconds to write a cache attribute.CacheMgmtInterceptor:averageWriteTime
Cache Loader StoresmeasurementNumber of nodes written to the cache loader.CacheStoreInterceptor:cacheLoaderStores
Cache Loader Stores per MinutemeasurementNumber of nodes written to the cache loader.CacheStoreInterceptor:cacheLoaderStores
InvalidationsmeasurementNumber of cached nodes that have been invalidated.InvalidationInterceptor:invalidations
Invalidations per MinutemeasurementNumber of cached nodes that have been invalidated.InvalidationInterceptor:invalidations
PassivationsmeasurementNumber of cached nodes that have been passivated.PassivationInterceptor:passivations
Passivations per MinutemeasurementNumber of cached nodes that have been passivated.PassivationInterceptor:passivations
Tx preparesmeasurementNumber of transaction prepare operations performed.TxInterceptor:prepares
Tx prepares per MinutemeasurementNumber of transaction prepare operations performed.TxInterceptor:prepares
Tx commitsmeasurementNumber of transaction commit operations performed.TxInterceptor:commits
Tx commits per MinutemeasurementNumber of transaction commit operations performed.TxInterceptor:commits
Tx rollbacksmeasurementNumber of transaction rollback operations performed.TxInterceptor:rollbacks
Tx rollbacks per MinutemeasurementNumber of transaction rollback operations performed.TxInterceptor:rollbacks

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.

Configuration Properties

Table 3.4131. 

NameDescriptionRequiredInternal Name
FlavorIs this going to be a POJO Cache or a Tree Cache yes Flavour
Transaction Manager Lookup ClassWhat class should be used to get a transaction manager instance yes TransactionManagerLookupClass
Isolation LevelThe isolation level for access to the cache (default is REPEATABLE_READ) no IsolationLevel
Node Locking Schemethe node locking scheme for this cache (default is PESSIMISTIC) no NodeLockingScheme
Cache Modethe cache mode - a cache can be configured to be either local (standalone) or clustered. If in a cluster, the cache can be configured to replicate changes, or to invalidate changes (default is LOCAL) no CacheMode
Use Repl Queueshould a replication queue be used for asynchronous replication? (default is false) no UseReplQueue
Repl Queue IntervalTime in milliseconds for elements from the replication queue to be replicated. Only used if UseReplQueue is enabled. (default is 100) no ReplQueueInterval
Repl Queue Max ElementsMaximum number of elements which trigger replication (default is 10) no ReplQueueMaxElements
Cluster NameName of cluster. Needs to be the same for all clusters, in order to find each other yes ClusterName
Fetch State On StartupWhether or not to fetch state on joining a cluster (default is true) no FetchStateOnStartup
Initial State Retrieval TimeoutMaximum number of milliseconds to wait until the initial state (i.e. the contents of the cache) are retrieved from existing members in a clustered environment yes InitialStateRetrievalTimeout
Sync Repl TimeoutMaximum number of milliseconds to wait until all responses for a synchronous call have been received. yes SyncReplTimeout
Lock Acquisition TimeoutMaximum number of milliseconds to wait for a lock acquisition. yes LockAcquisitionTimeout

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Operations

Table 3.4132. Metrics

NameDescription
Reset StatisticsResets all statistics
List associated MBeansList all MBeans that form this Cache instance

Package Types

none

3.6.1.1. JBossCache - JGroupsChannel Service

Overview

Table 3.4133. Overview

Description:The underlying JGroups channel for this cache instance
Singleton: no
Plugin:JBossCache
Child Resource Types
none
Connection Properties
none
Metrics
none
Configuration Properties
none
Operations
none
Package Types
none