beautypg.com

Table 18–4, Ejb pool statistics, Table 18–5 – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 179: Ejb cache statistics

background image

TABLE 18–4

EJB Pool Statistics

Attribute Name

Data Type

Description

numbeansinpool

BoundedRangeStatistic

Number of EJB’s in the associated pool,
providing an idea about how the pool
is changing.

numthreadswaiting

BoundedRangeStatistic

Number of threads waiting for free
beans, giving an indication of possible
congestion of requests.

totalbeanscreated

CountStatistic

Number of beans created in associated
pool since the gathering of data
started.

totalbeansdestroyed

CountStatistic

Number of beans destroyed from
associated pool since the gathering of
data started.

jmsmaxmessagesload

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–5

EJB Cache Statistics

Attribute Name

Data Type

Description

cachemisses

BoundedRangeStatistic

The number of times a user request does not
find a bean in the cache.

cachehits

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.

numpassivations

CountStatistic

Number of passivated beans. Applies only to
stateful session beans.

numpassivationerrors

CountStatistic

Number of errors during passivation. Applies
only to stateful session beans.

numexpiredsessionsremoved

CountStatistic

Number of expired sessions removed by the
cleanup thread. Applies only to stateful
session beans.

About Monitoring

Chapter 18 • Monitoring Components and Services

179