Enterprise Java Bean counters

Counters for this category report load values, response times, and life cycle activities for enterprise Java beans.

Note: With the instrumentation level set to anything other than MAX, the values may be less accurate for TimeStatistics and CountStatistics (and in the case of CountStatistics, such as numConnectionHandles, can even be negative). This is due to counters not being synchronized. Synchronizing counters is very expensive in terms of resources, so it is only done when the instrumentation level is set to MAX.

Counter definitions

Name Key Description Version Granularity Type Level
Num creates beanModule.creates The number of times that beans were created 3.5.5 and later Per home CountStatistic Low
Num removes beanModule.removes The number of times that beans were removed 3.5.5 and later Per home CountStatistic Low
Num passivates beanModule.passivates The number of times that beans were passivated (entity and stateful) 3.5.5 and later Per home CountStatistic Low
Num activates beanModule.activates The number of times that beans were activated (entity and stateful) 3.5.5 and later Per home CountStatistic Low
Num loads beanModule.loads The number of times that bean data was loaded from persistent storage (entity) 3.5.5 and later Per home CountStatistic Low
Num stores beanModule.stores The number of times that bean data was stored in persistent storage (entity) 3.5.5 and later Per home CountStatistic Low
Num instantiates beanModule.instantiates The number of times that bean objects were instantiated 3.5.5 and later Per home CountStatistic Low
Num destroys beanModule.destroys The number of times that bean objects were freed 3.5.5 and later Per home CountStatistic Low
Ready beans beanModule.readyCount The number of concurrently ready beans (entity and session). This counter was called concurrent active in Versions 3.5.5+ and 4.0. 3.5.5 and later Per home RangeStatistic High
Concurrent lives beanModule.concurrentLives The number of concurrently live beans 3.5.5 and later Per home RangeStatistic High
Avg method RT (ms) beanModule.avgMethodRt The average response time in milliseconds on the bean methods (home, remote, local) 3.5.5 and later Per home TimeStatistic High
Avg create time (ms) beanModule.avgCreateTime The average time in milliseconds that a bean create call takes including the time for the load if any 5.0 Per home TimeStatistic Max
Avg load time (ms) beanModule.loadTime The average time in milliseconds for loading the bean data from persistent storage (entity) 5.0 Per home TimeStatistic Medium
Avg store time (ms) beanModule.storeTime The average time in milliseconds for storing the bean data to persistent storage (entity) 5.0 Per home TimeStatistic Medium
Avg remove time (ms) beanModule.avgRemoveTime The average time in milliseconds that a bean entries call takes including the time at the database, if any 5.0 Per home TimeStatistic Max
Total method calls beanModule.totalMethodCalls The total number of method calls 3.5.5 and later Per home CountStatistic High
Activation time (ms) beanModule.activationTime The average time in milliseconds that a beanActivate call takes including the time at the database, if any 5.0 Per home TimeStatistic Medium
Passivation time (ms) beanModule.passivationTime The average time in milliseconds that a beanPassivate call takes including the time at the database, if any 5.0 Per home TimeStatistic Medium
Active methods beanModule.activeMethods The number of concurrently active methods - the number of methods called at the same time. 3.5.5 and later Per home TimeStatistic High
Gets from pool beanModule.getsFromPool The number of calls retrieving an object from the pool (entity and stateless) 3.5.5 and later Per home and per object pool CountStatistic Low
Gets found beanModule.getsFound The number of times that a retrieve found an object available in the pool (entity and stateless) 3.5.5 and later Per home and per object pool CountStatistic Low
Returns to pool beanModule.returnsToPool The number of calls returning an object to the pool (entity and stateless) 3.5.5 and later Per home and per object pool CountStatistic Low
Returns discarded beanModule.returnsDiscarded The number of times that the returning object was discarded because the pool was full (entity and stateless) 3.5.5 and later Per home and per object pool CountStatistic Low
Drains from pool beanModule.drainsFromPool The number of times that the daemon found the pool was idle and attempted to clean it (entity and stateless) 3.5.5 and later Per home and per object pool CountStatistic Low
Avg drain size beanModule.avgDrainSize The average number of objects discarded in each drain (entity and stateless) 3.5.5 and later Per home and per object pool TimeStatistic Medium
Pool size beanModule.poolSize The number of objects in the pool (entity and stateless) 3.5.5 and later Per home and per object pool RangeStatistic High
Message count beanModule.messageCount The number of messages delivered to the bean onMessage method (message driven beans) 5.0 Per type CountStatistic Low
Message backout count beanModule.messageBackoutCount The number of messages that failed to be delivered to the bean onMessage method (message driven beans) 5.0 Per type CountStatistic Low
Server session wait time (ms) beanModule.avgSrvSessionWaitTime The average time to obtain a ServerSession from the pool (message drive bean) 5.0 Per type TimeStatistic Medium
Server session usage beanModule.serverSessionUsage The percentage of the server session pool in use (message driven) 5.0 Per type RangeStatistic High



Related reference
Performance data organization
Enterprise Java Bean method counters