The EJB container statistics are described in the following tables:
EJB statistics are described in the following table.
Table 18–1 EJB Statistics
Attribute Name |
Data Type |
Description |
---|---|---|
createcount |
CountStatistic |
Number of times an EJB’s create method is called. |
removecount |
CountStatistic |
Number of times an EJB’s remove method is called. |
pooledcount |
RangeStatistic |
Number of entity beans in pooled state. |
readycount |
RangeStatistic |
Number of entity beans in ready state. |
messagecount |
CountStatistic |
Number of messages received for a message-driven bean. |
methodreadycount |
RangeStatistic |
Number of stateful or stateless session beans that are in the MethodReady state. |
passivecount |
RangeStatistic |
Number of stateful session beans that are in Passive state. |
activationErrorCount |
CountStatistic |
Time (ms) spent executing the method for the last successful/unsuccessful attempt to execute the operation. This is collected for stateless and stateful session beans and entity beans, if monitoring is enabled on the EJB container. |
The statistics available for EJB method invocations are listed in the following table.
Table 18–2 EJB Method Statistics
Attribute Name |
Data Type |
Description |
---|---|---|
methodstatistic |
TimeStatistic |
Number of times an operation is called; the total time that is spent during the invocation, and so on. |
CountStatistic |
Number of times the method execution resulted in an exception. This is collected for stateless and stateful session beans and entity beans if monitoring is enabled for the EJB container. |
|
CountStatistic |
Number of times the method successfully executed. This is collected for stateless and stateful session beans and entity beans if monitoring enabled is true for EJB container. |
|
CountStatistic |
Time (ms) spent executing the method for the last successful/unsuccessful attempt to execute the operation. This is collected for stateless and stateful session beans and entity beans if monitoring is enabled on the EJB container. |
The statistics available for EJB pools are listed in the following table.
Table 18–3 EJB Pool Statistics
Attribute Name |
Data Type |
Description |
---|---|---|
BoundedRangeStatistic |
Number of EJB’s in the associated pool, providing an idea about how the pool is changing. |
|
BoundedRangeStatistic |
Number of threads waiting for free beans, giving an indication of possible congestion of requests. |
|
CountStatistic |
Number of beans created in associated pool since the gathering of data started. |
|
CountStatistic |
Number of beans destroyed from associated pool since the gathering of data started. |
|
CountStatistic |
The maximum number of messages to load into a JMS session at one time for a message-driven bean to serve. Default is 1. Applies only to pools for message driven beans. |
The statistics available for EJB caches are listed in the following table.
Table 18–4 EJB Cache Statistics
Attribute Name |
Data Type |
Description |
---|---|---|
BoundedRangeStatistic |
The number of times a user request does not find a bean in the cache. |
|
BoundedRangeStatistic |
The number of times a user request found an entry in the cache. |
|
numbeansincache |
BoundedRangeStatistic |
The number of beans in the cache. This is the current size of the cache. |
CountStatistic |
Number of passivated beans. Applies only to stateful session beans. |
|
CountStatistic |
Number of errors during passivation. Applies only to stateful session beans. |
|
CountStatistic |
Number of expired sessions removed by the cleanup thread. Applies only to stateful session beans. |
|
CountStatistic |
Number of times passivation completed successfully. Applies only to stateful session beans. |
The statistics available for Timers are listed in the following table.
Table 18–5 Timer Statistics
Statistic |
Data Type |
Description |
---|---|---|
numtimerscreated |
CountStatistic |
Number of timers created in the system. |
numtimersdelivered |
CountStatistic |
Number of timers delivered by the system. |
numtimersremoved |
CountStatistic |
Number of timers removed from the system. |