org.mule.module.management.mbean
Class FlowConstructStats

java.lang.Object
  extended by org.mule.module.management.mbean.FlowConstructStats
All Implemented Interfaces:
MBeanRegistration, FlowConstructStatsMBean
Direct Known Subclasses:
ServiceStats

public class FlowConstructStats
extends Object
implements FlowConstructStatsMBean, MBeanRegistration

A concrete class that holds management information for a Mule managed flow.


Field Summary
protected  ObjectName name
           
protected  MBeanServer server
           
 
Constructor Summary
FlowConstructStats(FlowConstructStatistics statistics)
           
 
Method Summary
 void clearStatistics()
           
 long getAsyncEventsReceived()
           
 long getAverageProcessingTime()
           
 long getExecutionErrors()
           
 long getFatalErrors()
           
 long getMaxProcessingTime()
           
 long getMinProcessingTime()
           
 long getProcessedEvents()
           
 long getSyncEventsReceived()
           
 long getTotalEventsReceived()
           
 long getTotalProcessingTime()
           
 void postDeregister()
           
 void postRegister(Boolean registrationDone)
           
 void preDeregister()
           
 ObjectName preRegister(MBeanServer server, ObjectName name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected MBeanServer server

name

protected ObjectName name
Constructor Detail

FlowConstructStats

public FlowConstructStats(FlowConstructStatistics statistics)
Method Detail

getAverageProcessingTime

public long getAverageProcessingTime()
Specified by:
getAverageProcessingTime in interface FlowConstructStatsMBean

getProcessedEvents

public long getProcessedEvents()
Specified by:
getProcessedEvents in interface FlowConstructStatsMBean

getMaxProcessingTime

public long getMaxProcessingTime()
Specified by:
getMaxProcessingTime in interface FlowConstructStatsMBean

getMinProcessingTime

public long getMinProcessingTime()
Specified by:
getMinProcessingTime in interface FlowConstructStatsMBean

getTotalProcessingTime

public long getTotalProcessingTime()
Specified by:
getTotalProcessingTime in interface FlowConstructStatsMBean

clearStatistics

public void clearStatistics()
Specified by:
clearStatistics in interface FlowConstructStatsMBean

getAsyncEventsReceived

public long getAsyncEventsReceived()
Specified by:
getAsyncEventsReceived in interface FlowConstructStatsMBean

getSyncEventsReceived

public long getSyncEventsReceived()
Specified by:
getSyncEventsReceived in interface FlowConstructStatsMBean

getTotalEventsReceived

public long getTotalEventsReceived()
Specified by:
getTotalEventsReceived in interface FlowConstructStatsMBean

getExecutionErrors

public long getExecutionErrors()
Specified by:
getExecutionErrors in interface FlowConstructStatsMBean

getFatalErrors

public long getFatalErrors()
Specified by:
getFatalErrors in interface FlowConstructStatsMBean

preRegister

public ObjectName preRegister(MBeanServer server,
                              ObjectName name)
                       throws Exception
Specified by:
preRegister in interface MBeanRegistration
Throws:
Exception

postRegister

public void postRegister(Boolean registrationDone)
Specified by:
postRegister in interface MBeanRegistration

preDeregister

public void preDeregister()
                   throws Exception
Specified by:
preDeregister in interface MBeanRegistration
Throws:
Exception

postDeregister

public void postDeregister()
Specified by:
postDeregister in interface MBeanRegistration


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.