public class ServiceService extends Object implements ServiceServiceMBean, MBeanRegistration, ServiceStatsMBean
ServiceService exposes service information about a Mule Managed
service.PHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
ServiceService(String name) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public ServiceService(String name)
public int getQueueSize()
ServiceServiceMBeangetQueueSize in interface ServiceServiceMBeanpublic void pause()
throws MuleException
pause in interface ServiceServiceMBeanMuleException - if the service failed to pause.org.mule.config.MuleConfigurationpublic 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 ServiceServiceMBeanpublic void stop()
throws MuleException
stop in interface StoppableMuleExceptionpublic void forceStop()
throws MuleException
ServiceServiceMBeanforceStop in interface ServiceServiceMBeanMuleExceptionpublic boolean isStopping()
isStopping in interface ServiceServiceMBeanpublic void dispose()
throws MuleException
dispose in interface ServiceServiceMBeanMuleExceptionpublic void start()
throws MuleException
start in interface StartableMuleExceptionpublic ObjectName getStatistics()
ServiceServiceMBeangetStatistics in interface ServiceServiceMBeanServiceStatspublic ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister in interface MBeanRegistrationExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpublic 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()
ServiceServiceMBeangetName 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 ServiceStatsMBeanCopyright © 2003-2013 MuleSource, Inc.. All Rights Reserved.