|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.management.mbeans.ComponentService
ComponentService exposes service information about a Mule Managed
component
| Constructor Summary | |
ComponentService(String name)
|
|
| Method Summary | |
void |
clearStatistics()
|
void |
dispose()
|
void |
forceStop()
Causes the component to stop without processing its event queue first |
long |
getAsyncEventsReceived()
|
long |
getAsyncEventsSent()
|
long |
getAverageExecutionTime()
|
long |
getAverageQueueSize()
|
long |
getExecutedEvents()
|
long |
getExecutionErrors()
|
long |
getFatalErrors()
|
long |
getMaxExecutionTime()
|
long |
getMaxQueueSize()
|
long |
getMinExecutionTime()
|
String |
getName()
The name of this component |
long |
getQueuedEvents()
|
int |
getQueueSize()
The number of queued events for this component |
long |
getReplyToEventsSent()
|
ObjectName |
getStatistics()
The statistics for this component |
long |
getSyncEventsReceived()
|
long |
getSyncEventsSent()
|
long |
getTotalEventsReceived()
|
long |
getTotalEventsSent()
|
long |
getTotalExecutionTime()
|
boolean |
isPaused()
|
boolean |
isStopped()
|
boolean |
isStopping()
|
void |
pause()
Pauses event processing for theComponent. |
void |
postDeregister()
|
void |
postRegister(Boolean registrationDone)
|
void |
preDeregister()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
|
void |
resume()
Resumes the Component that has been paused. |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentService(String name)
| Method Detail |
public int getQueueSize()
ComponentServiceMBean
getQueueSize in interface ComponentServiceMBean
public void pause()
throws UMOException
pause in interface ComponentServiceMBeanUMOException - if the component failed to pause.MuleConfiguration
public void resume()
throws UMOException
resume in interface ComponentServiceMBeanUMOException - if the component failed to resumepublic boolean isPaused()
isPaused in interface ComponentServiceMBeanpublic boolean isStopped()
isStopped in interface ComponentServiceMBean
public void stop()
throws UMOException
stop in interface StoppableUMOException
public void forceStop()
throws UMOException
ComponentServiceMBean
forceStop in interface ComponentServiceMBeanUMOExceptionpublic boolean isStopping()
isStopping in interface ComponentServiceMBean
public void dispose()
throws UMOException
dispose in interface ComponentServiceMBeanUMOException
public void start()
throws UMOException
start in interface StartableUMOExceptionpublic ObjectName getStatistics()
ComponentServiceMBean
getStatistics in interface ComponentServiceMBeanComponentStats
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
Exceptionpublic void postRegister(Boolean registrationDone)
public void preDeregister()
throws Exception
Exceptionpublic void postDeregister()
public void clearStatistics()
clearStatistics in interface ComponentStatsMBeanpublic long getAsyncEventsReceived()
getAsyncEventsReceived in interface ComponentStatsMBeanpublic long getAsyncEventsSent()
getAsyncEventsSent in interface ComponentStatsMBeanpublic long getAverageExecutionTime()
getAverageExecutionTime in interface ComponentStatsMBeanpublic long getAverageQueueSize()
getAverageQueueSize in interface ComponentStatsMBeanpublic long getExecutedEvents()
getExecutedEvents in interface ComponentStatsMBeanpublic long getExecutionErrors()
getExecutionErrors in interface ComponentStatsMBeanpublic long getFatalErrors()
getFatalErrors in interface ComponentStatsMBeanpublic long getMaxExecutionTime()
getMaxExecutionTime in interface ComponentStatsMBeanpublic long getMaxQueueSize()
getMaxQueueSize in interface ComponentStatsMBeanpublic long getMinExecutionTime()
getMinExecutionTime in interface ComponentStatsMBeanpublic String getName()
ComponentServiceMBean
getName in interface ComponentServiceMBeanpublic long getQueuedEvents()
getQueuedEvents in interface ComponentStatsMBeanpublic long getReplyToEventsSent()
getReplyToEventsSent in interface ComponentStatsMBeanpublic long getSyncEventsReceived()
getSyncEventsReceived in interface ComponentStatsMBeanpublic long getSyncEventsSent()
getSyncEventsSent in interface ComponentStatsMBeanpublic long getTotalEventsReceived()
getTotalEventsReceived in interface ComponentStatsMBeanpublic long getTotalEventsSent()
getTotalEventsSent in interface ComponentStatsMBeanpublic long getTotalExecutionTime()
getTotalExecutionTime in interface ComponentStatsMBean
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||