Java EE 5 SDK

com.sun.appserv.management.monitor.statistics
Interface EJBPoolStats

All Superinterfaces:
Stats

public interface EJBPoolStats
extends Stats

A Stats interface to represent the statistical data exposed by an EJB Bean Pool. These are based on the statistics exposed in S1AS7.0. All the EJB Pool implementations should expose statistical data by implementing this interface.


Method Summary
 CountStatistic getJMSMaxMessagesLoad()
          Returns the maximum number of messages to load into a JMS session, at a time, as a CountStatistic.
 BoundedRangeStatistic getNumBeansInPool()
          Returns the statistical information about the number of EJBs in the associated pool, as an instance of BoundedRangeStatistic.
 BoundedRangeStatistic getNumThreadsWaiting()
          Returns the number of threads waiting for free Beans, as an instance of CountStatistic.
 CountStatistic getTotalBeansCreated()
          Returns the number of Beans created in associated pool so far over time, since the gathering of data started, as a CountStatistic.
 CountStatistic getTotalBeansDestroyed()
          Returns the number of Beans destroyed from associated pool so far over time, since the gathering of data started, as a CountStatistic.
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getNumBeansInPool

BoundedRangeStatistic getNumBeansInPool()
Returns the statistical information about the number of EJBs in the associated pool, as an instance of BoundedRangeStatistic. This returned value gives an idea about how the pool is changing.

Returns:
an instance of BoundedRangeStatistic

getNumThreadsWaiting

BoundedRangeStatistic getNumThreadsWaiting()
Returns the number of threads waiting for free Beans, as an instance of CountStatistic. This indicates the congestion of requests.

Returns:
an instance of BoundedRangeStatistic

getTotalBeansCreated

CountStatistic getTotalBeansCreated()
Returns the number of Beans created in associated pool so far over time, since the gathering of data started, as a CountStatistic.

Returns:
an instance of CountStatistic

getTotalBeansDestroyed

CountStatistic getTotalBeansDestroyed()
Returns the number of Beans destroyed from associated pool so far over time, since the gathering of data started, as a CountStatistic.

Returns:
an instance of CountStatistic

getJMSMaxMessagesLoad

CountStatistic getJMSMaxMessagesLoad()
Returns the maximum number of messages to load into a JMS session, at a time, as a CountStatistic.

Returns:
an instance of CountStatistic

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.