|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.management.mbeans.ComponentService
public class 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()
|
javax.management.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()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer server,
javax.management.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 ComponentServiceMBean
UMOException
- if the component failed to pause.MuleConfiguration
public void resume() throws UMOException
resume
in interface ComponentServiceMBean
UMOException
- if the component failed to resumepublic boolean isPaused()
isPaused
in interface ComponentServiceMBean
public boolean isStopped()
isStopped
in interface ComponentServiceMBean
public void stop() throws UMOException
stop
in interface Stoppable
UMOException
public void forceStop() throws UMOException
ComponentServiceMBean
forceStop
in interface ComponentServiceMBean
UMOException
public boolean isStopping()
isStopping
in interface ComponentServiceMBean
public void dispose() throws UMOException
dispose
in interface ComponentServiceMBean
UMOException
public void start() throws UMOException
start
in interface Startable
UMOException
public javax.management.ObjectName getStatistics()
ComponentServiceMBean
getStatistics
in interface ComponentServiceMBean
ComponentStats
public javax.management.ObjectName preRegister(javax.management.MBeanServer server, javax.management.ObjectName name) throws Exception
preRegister
in interface javax.management.MBeanRegistration
Exception
public void postRegister(Boolean registrationDone)
postRegister
in interface javax.management.MBeanRegistration
public void preDeregister() throws Exception
preDeregister
in interface javax.management.MBeanRegistration
Exception
public void postDeregister()
postDeregister
in interface javax.management.MBeanRegistration
public void clearStatistics()
clearStatistics
in interface ComponentStatsMBean
public long getAsyncEventsReceived()
getAsyncEventsReceived
in interface ComponentStatsMBean
public long getAsyncEventsSent()
getAsyncEventsSent
in interface ComponentStatsMBean
public long getAverageExecutionTime()
getAverageExecutionTime
in interface ComponentStatsMBean
public long getAverageQueueSize()
getAverageQueueSize
in interface ComponentStatsMBean
public long getExecutedEvents()
getExecutedEvents
in interface ComponentStatsMBean
public long getExecutionErrors()
getExecutionErrors
in interface ComponentStatsMBean
public long getFatalErrors()
getFatalErrors
in interface ComponentStatsMBean
public long getMaxExecutionTime()
getMaxExecutionTime
in interface ComponentStatsMBean
public long getMaxQueueSize()
getMaxQueueSize
in interface ComponentStatsMBean
public long getMinExecutionTime()
getMinExecutionTime
in interface ComponentStatsMBean
public String getName()
ComponentServiceMBean
getName
in interface ComponentServiceMBean
public long getQueuedEvents()
getQueuedEvents
in interface ComponentStatsMBean
public long getReplyToEventsSent()
getReplyToEventsSent
in interface ComponentStatsMBean
public long getSyncEventsReceived()
getSyncEventsReceived
in interface ComponentStatsMBean
public long getSyncEventsSent()
getSyncEventsSent
in interface ComponentStatsMBean
public long getTotalEventsReceived()
getTotalEventsReceived
in interface ComponentStatsMBean
public long getTotalEventsSent()
getTotalEventsSent
in interface ComponentStatsMBean
public long getTotalExecutionTime()
getTotalExecutionTime
in interface ComponentStatsMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |