FileDocCategorySizeDatePackage
EJBPoolStats.javaAPI DocGlassfish v2 API4107Fri May 04 22:25:48 BST 2007com.sun.enterprise.admin.monitor.stats

EJBPoolStats

public interface EJBPoolStats implements javax.management.j2ee.statistics.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.
author
Muralidhar Vempaty
author
Kedar Mhaswade
since
S1AS8.0
version
1.0

Fields Summary
Constructors Summary
Methods Summary
public javax.management.j2ee.statistics.CountStatisticgetJmsMaxMessagesLoad()
Returns the maximum number of messages to load into a JMS session, at a time, as a CountStatistic.

return
an instance of {@link CountStatistic}

public javax.management.j2ee.statistics.BoundedRangeStatisticgetNumBeansInPool()
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.

return
an instance of {@link BoundedRangeStatistic}

public javax.management.j2ee.statistics.BoundedRangeStatisticgetNumThreadsWaiting()
Returns the number of threads waiting for free Beans, as an instance of CountStatistic. This indicates the congestion of requests.

return
an instance of {@link BoundedRangeStatistic}

public javax.management.j2ee.statistics.CountStatisticgetTotalBeansCreated()
Returns the number of Beans created in associated pool so far over time, since the gathering of data started, as a CountStatistic.

return
an instance of {@link CountStatistic}

public javax.management.j2ee.statistics.CountStatisticgetTotalBeansDestroyed()
Returns the number of Beans destroyed from associated pool so far over time, since the gathering of data started, as a CountStatistic.

return
an instance of {@link CountStatistic}