com.sun.ejb.base.stats
Class EJBPoolStatsImpl

java.lang.Object
  extended by com.sun.ejb.base.stats.StatsImpl
      extended by com.sun.ejb.base.stats.EJBPoolStatsImpl
All Implemented Interfaces:
EJBPoolStats, Stats

public class EJBPoolStatsImpl
extends StatsImpl
implements EJBPoolStats

A Class for providing pool stats for EJB Container Used by both Entity and Stateless Container

Author:
Mahesh Kannan

Field Summary
 
Fields inherited from class com.sun.ejb.base.stats.StatsImpl
_logger, monitorOn, registered
 
Constructor Summary
EJBPoolStatsImpl(EJBPoolStatsProvider delegate)
           
 
Method Summary
 CountStatistic getJmsMaxMessagesLoad()
           
 BoundedRangeStatistic getNumBeansInPool()
           
 BoundedRangeStatistic getNumThreadsWaiting()
           
 CountStatistic getTotalBeansCreated()
           
 CountStatistic getTotalBeansDestroyed()
           
protected  void initialize()
           
 
Methods inherited from class com.sun.ejb.base.stats.StatsImpl
getStatistic, getStatisticNames, getStatistics, initialize, statToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

EJBPoolStatsImpl

public EJBPoolStatsImpl(EJBPoolStatsProvider delegate)
Method Detail

initialize

protected void initialize()

getJmsMaxMessagesLoad

public CountStatistic getJmsMaxMessagesLoad()
Specified by:
getJmsMaxMessagesLoad in interface EJBPoolStats

getNumBeansInPool

public BoundedRangeStatistic getNumBeansInPool()
Specified by:
getNumBeansInPool in interface EJBPoolStats

getNumThreadsWaiting

public BoundedRangeStatistic getNumThreadsWaiting()
Specified by:
getNumThreadsWaiting in interface EJBPoolStats

getTotalBeansCreated

public CountStatistic getTotalBeansCreated()
Specified by:
getTotalBeansCreated in interface EJBPoolStats

getTotalBeansDestroyed

public CountStatistic getTotalBeansDestroyed()
Specified by:
getTotalBeansDestroyed in interface EJBPoolStats


Copyright © 2012 GlassFish Community. All Rights Reserved.