About Monitoring

 

 

 

TABLE 18–2EJB 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.

 

 

 

 

 

totalnumerrors

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.

 

 

 

 

 

totalnumsuccess

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.

 

 

 

 

 

executiontime

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 for EJB Session Stores are listed in the following table.

TABLE 18–3EJB Session Store Statistics

Attribute Name

Data Type

Description

 

 

 

currentSize

RangeStatistic

Number of passivated or

 

 

checkpointed sessions currently in

 

 

the store.

 

 

 

activationCount

CountStatistic

Number of sessions activated from

 

 

the store.

 

 

 

activationSuccessCount

CountStatistic

Number of sessions successfully

 

 

activated from the store

 

 

 

Chapter 18 • Monitoring Components and Services

177

Page 177
Image 177
Sun Microsystems 820433510 manual 2EJB Method Statistics, 3EJB Session Store Statistics