com.sun.ejb.base.stats
Class EJBTimedObjectStatsImpl

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

public class EJBTimedObjectStatsImpl
extends StatsImpl
implements TimerServiceStats

A Class for providing stats related to Timers created from beans of type STATELESS/ENTITY/MESSAGE_DRIVEN


Field Summary
protected  EJBTimedObjectStatsProvider timerDelegate
           
 
Fields inherited from class com.sun.ejb.base.stats.StatsImpl
_logger, monitorOn, registered
 
Constructor Summary
EJBTimedObjectStatsImpl(EJBTimedObjectStatsProvider delegate)
           
 
Method Summary
 CountStatistic getNumTimersCreated()
           
 CountStatistic getNumTimersDelivered()
           
 CountStatistic getNumTimersRemoved()
           
 void monitoringLevelChanged(boolean monitoringOn)
           
 
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
 

Field Detail

timerDelegate

protected EJBTimedObjectStatsProvider timerDelegate
Constructor Detail

EJBTimedObjectStatsImpl

public EJBTimedObjectStatsImpl(EJBTimedObjectStatsProvider delegate)
Method Detail

getNumTimersCreated

public CountStatistic getNumTimersCreated()
Specified by:
getNumTimersCreated in interface TimerServiceStats

getNumTimersRemoved

public CountStatistic getNumTimersRemoved()
Specified by:
getNumTimersRemoved in interface TimerServiceStats

getNumTimersDelivered

public CountStatistic getNumTimersDelivered()
Specified by:
getNumTimersDelivered in interface TimerServiceStats

monitoringLevelChanged

public void monitoringLevelChanged(boolean monitoringOn)


Copyright © 2012 GlassFish Community. All Rights Reserved.