com.sun.ejb.base.stats
Class SessionBeanStatsImpl

java.lang.Object
  extended by com.sun.ejb.base.stats.StatsImpl
      extended by com.sun.ejb.base.stats.EJBStatsImpl
          extended by com.sun.ejb.base.stats.SessionBeanStatsImpl
All Implemented Interfaces:
EJBStats, SessionBeanStats, Stats
Direct Known Subclasses:
StatefulSessionBeanStatsImpl, StatelessSessionBeanStatsImpl

public abstract class SessionBeanStatsImpl
extends EJBStatsImpl
implements SessionBeanStats

A Class for providing stats for both Stateless and Stateful Containers.

Author:
Mahesh Kannan

Field Summary
protected  SessionBeanStatsProvider sessionDelegate
           
 
Fields inherited from class com.sun.ejb.base.stats.EJBStatsImpl
delegate
 
Fields inherited from class com.sun.ejb.base.stats.StatsImpl
_logger, monitorOn, registered
 
Constructor Summary
SessionBeanStatsImpl(SessionBeanStatsProvider delegate, java.lang.String intfName)
           
 
Method Summary
protected abstract  int getMaxReadyCount()
           
 RangeStatistic getMethodReadyCount()
           
protected abstract  int getMinReadyCount()
           
protected  void initSessionStats()
           
 
Methods inherited from class com.sun.ejb.base.stats.EJBStatsImpl
getCreateCount, getRemoveCount
 
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.EJBStats
getCreateCount, getRemoveCount
 
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Field Detail

sessionDelegate

protected SessionBeanStatsProvider sessionDelegate
Constructor Detail

SessionBeanStatsImpl

public SessionBeanStatsImpl(SessionBeanStatsProvider delegate,
                            java.lang.String intfName)
Method Detail

initSessionStats

protected void initSessionStats()

getMethodReadyCount

public RangeStatistic getMethodReadyCount()
Specified by:
getMethodReadyCount in interface SessionBeanStats

getMaxReadyCount

protected abstract int getMaxReadyCount()

getMinReadyCount

protected abstract int getMinReadyCount()


Copyright © 2012 GlassFish Community. All Rights Reserved.