|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.module.management.mbean.ServiceService
public class ServiceService
ServiceService exposes service information about a Mule Managed
service.
| Field Summary |
|---|
| Fields inherited from interface org.mule.module.management.mbean.ServiceServiceMBean |
|---|
DEFAULT_JMX_NAME_PREFIX |
| Fields inherited from interface org.mule.api.lifecycle.Stoppable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Startable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
ServiceService(String name,
MuleContext muleContext)
|
|
| Method Summary | |
|---|---|
void |
clearStatistics()
|
void |
dispose()
|
void |
forceStop()
Causes the service 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 service |
long |
getQueuedEvents()
|
int |
getQueueSize()
The number of queued events for this service |
long |
getReplyToEventsSent()
|
ObjectName |
getStatistics()
The statistics for this service |
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 Service 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 ServiceService(String name,
MuleContext muleContext)
| Method Detail |
|---|
public int getQueueSize()
ServiceServiceMBean
getQueueSize in interface ServiceServiceMBean
public void pause()
throws MuleException
pause in interface ServiceServiceMBeanMuleException - if the service failed to pause.MuleConfiguration
public void resume()
throws MuleException
resume in interface ServiceServiceMBeanMuleException - if the service failed to resumepublic boolean isPaused()
isPaused in interface ServiceServiceMBeanpublic boolean isStopped()
isStopped in interface ServiceServiceMBean
public void stop()
throws MuleException
stop in interface StoppableMuleException
public void forceStop()
throws MuleException
ServiceServiceMBean
forceStop in interface ServiceServiceMBeanMuleExceptionpublic boolean isStopping()
isStopping in interface ServiceServiceMBean
public void dispose()
throws MuleException
dispose in interface ServiceServiceMBeanMuleException
public void start()
throws MuleException
start in interface StartableMuleExceptionpublic ObjectName getStatistics()
ServiceServiceMBean
getStatistics in interface ServiceServiceMBeanServiceStats
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
preRegister in interface MBeanRegistrationExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistration
public void preDeregister()
throws Exception
preDeregister in interface MBeanRegistrationExceptionpublic void postDeregister()
postDeregister in interface MBeanRegistrationpublic void clearStatistics()
clearStatistics in interface ServiceStatsMBeanpublic long getAsyncEventsReceived()
getAsyncEventsReceived in interface ServiceStatsMBeanpublic long getAsyncEventsSent()
getAsyncEventsSent in interface ServiceStatsMBeanpublic long getAverageExecutionTime()
getAverageExecutionTime in interface ServiceStatsMBeanpublic long getAverageQueueSize()
getAverageQueueSize in interface ServiceStatsMBeanpublic long getExecutedEvents()
getExecutedEvents in interface ServiceStatsMBeanpublic long getExecutionErrors()
getExecutionErrors in interface ServiceStatsMBeanpublic long getFatalErrors()
getFatalErrors in interface ServiceStatsMBeanpublic long getMaxExecutionTime()
getMaxExecutionTime in interface ServiceStatsMBeanpublic long getMaxQueueSize()
getMaxQueueSize in interface ServiceStatsMBeanpublic long getMinExecutionTime()
getMinExecutionTime in interface ServiceStatsMBeanpublic String getName()
ServiceServiceMBean
getName in interface ServiceServiceMBeanpublic long getQueuedEvents()
getQueuedEvents in interface ServiceStatsMBeanpublic long getReplyToEventsSent()
getReplyToEventsSent in interface ServiceStatsMBeanpublic long getSyncEventsReceived()
getSyncEventsReceived in interface ServiceStatsMBeanpublic long getSyncEventsSent()
getSyncEventsSent in interface ServiceStatsMBeanpublic long getTotalEventsReceived()
getTotalEventsReceived in interface ServiceStatsMBeanpublic long getTotalEventsSent()
getTotalEventsSent in interface ServiceStatsMBeanpublic long getTotalExecutionTime()
getTotalExecutionTime in interface ServiceStatsMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||