org.mule.management.mbeans
Class ComponentStats

java.lang.Object
  extended byorg.mule.management.mbeans.ComponentStats
All Implemented Interfaces:
ComponentStatsMBean

public class ComponentStats
extends java.lang.Object
implements ComponentStatsMBean

ComponentStats TODO

Version:
$Revision: 1.2 $
Author:
Guillaume Nodet

Constructor Summary
ComponentStats(ComponentStatistics statistics)
           
 
Method Summary
 void clear()
           
 long getAsyncEventsReceived()
           
 long getAsyncEventsSent()
           
 long getAverageExecutionTime()
           
 long getAverageQueueSize()
           
 long getExecutedEvents()
           
 long getExecutionErrors()
           
 long getFatalErrors()
           
 long getMaxExecutionTime()
           
 long getMaxQueueSize()
           
 long getMinExecutionTime()
           
 java.lang.String getName()
           
 long getQueuedEvents()
           
 long getReplyToEventsSent()
           
 ObjectName getRouterInbound()
           
 ObjectName getRouterOutbound()
           
 long getSyncEventsReceived()
           
 long getSyncEventsSent()
           
 long getTotalEventsReceived()
           
 long getTotalEventsSent()
           
 long getTotalExecutionTime()
           
 void postDeregister()
           
 void postRegister(java.lang.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
 

Constructor Detail

ComponentStats

public ComponentStats(ComponentStatistics statistics)
Method Detail

clear

public void clear()
Specified by:
clear in interface ComponentStatsMBean

getAsyncEventsReceived

public long getAsyncEventsReceived()
Specified by:
getAsyncEventsReceived in interface ComponentStatsMBean
Returns:

getAsyncEventsSent

public long getAsyncEventsSent()
Specified by:
getAsyncEventsSent in interface ComponentStatsMBean
Returns:

getAverageExecutionTime

public long getAverageExecutionTime()
Specified by:
getAverageExecutionTime in interface ComponentStatsMBean
Returns:

getAverageQueueSize

public long getAverageQueueSize()
Specified by:
getAverageQueueSize in interface ComponentStatsMBean
Returns:

getExecutedEvents

public long getExecutedEvents()
Specified by:
getExecutedEvents in interface ComponentStatsMBean
Returns:

getExecutionErrors

public long getExecutionErrors()
Specified by:
getExecutionErrors in interface ComponentStatsMBean
Returns:

getFatalErrors

public long getFatalErrors()
Specified by:
getFatalErrors in interface ComponentStatsMBean
Returns:

getMaxExecutionTime

public long getMaxExecutionTime()
Specified by:
getMaxExecutionTime in interface ComponentStatsMBean
Returns:

getMaxQueueSize

public long getMaxQueueSize()
Specified by:
getMaxQueueSize in interface ComponentStatsMBean
Returns:

getMinExecutionTime

public long getMinExecutionTime()
Specified by:
getMinExecutionTime in interface ComponentStatsMBean
Returns:

getName

public java.lang.String getName()
Returns:

getQueuedEvents

public long getQueuedEvents()
Specified by:
getQueuedEvents in interface ComponentStatsMBean
Returns:

getReplyToEventsSent

public long getReplyToEventsSent()
Specified by:
getReplyToEventsSent in interface ComponentStatsMBean
Returns:

getSyncEventsReceived

public long getSyncEventsReceived()
Specified by:
getSyncEventsReceived in interface ComponentStatsMBean
Returns:

getSyncEventsSent

public long getSyncEventsSent()
Specified by:
getSyncEventsSent in interface ComponentStatsMBean
Returns:

getTotalEventsReceived

public long getTotalEventsReceived()
Specified by:
getTotalEventsReceived in interface ComponentStatsMBean
Returns:

getTotalEventsSent

public long getTotalEventsSent()
Specified by:
getTotalEventsSent in interface ComponentStatsMBean
Returns:

getTotalExecutionTime

public long getTotalExecutionTime()
Specified by:
getTotalExecutionTime in interface ComponentStatsMBean
Returns:

preRegister

public ObjectName preRegister(MBeanServer server,
                              ObjectName name)
                       throws java.lang.Exception
Throws:
java.lang.Exception

postRegister

public void postRegister(java.lang.Boolean registrationDone)

preDeregister

public void preDeregister()
                   throws java.lang.Exception
Throws:
java.lang.Exception

postDeregister

public void postDeregister()

getRouterInbound

public ObjectName getRouterInbound()
Specified by:
getRouterInbound in interface ComponentStatsMBean

getRouterOutbound

public ObjectName getRouterOutbound()
Specified by:
getRouterOutbound in interface ComponentStatsMBean


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.