org.jboss.varia.stats
Class StatisticsCollector

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.varia.stats.StatisticsCollector
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class StatisticsCollector
extends ServiceMBeanSupport (src)


Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src)
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
StatisticsCollector()
           
 
Method Summary
 void addStatisticalItem(StatisticalItem (src)  item)
           
 void clearStatistics()
           
 void registerReportGenerator(ReportGenerator (src)  reportGenerator)
           
 java.lang.String reports()
           
 java.util.Iterator reportsIterator()
           
 TxStatistics (src) txStatistics()
           
 void unregisterReportGenerator(ReportGenerator (src)  reportGenerator)
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsCollector

public StatisticsCollector()
Method Detail

registerReportGenerator

public void registerReportGenerator(ReportGenerator (src)  reportGenerator)

unregisterReportGenerator

public void unregisterReportGenerator(ReportGenerator (src)  reportGenerator)

clearStatistics

public void clearStatistics()

addStatisticalItem

public void addStatisticalItem(StatisticalItem (src)  item)

reportsIterator

public java.util.Iterator reportsIterator()

txStatistics

public TxStatistics (src)  txStatistics()

reports

public java.lang.String reports()