public class ServiceService extends FlowConstructService implements ServiceServiceMBean, MBeanRegistration, ServiceStatsMBean
ServiceService exposes service information about a Mule Managed
service.jmxSupport, jmxSupportFactory, muleContext, name, objectName, server, statsName, typeDEFAULT_JMX_NAME_PREFIXPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
ServiceService(String name,
MuleContext muleContext) |
| 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 |
getMaxExecutionTime() |
long |
getMaxQueueSize() |
long |
getMinExecutionTime() |
long |
getQueuedEvents() |
int |
getQueueSize()
The number of queued events for this service
|
long |
getReplyToEventsSent() |
ObjectName |
getStatistics()
The statistics for this flow construct
|
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() |
getAverageProcessingTime, getExecutionErrors, getFatalErrors, getMaxProcessingTime, getMinProcessingTime, getName, getProcessedEvents, getTotalProcessingTime, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getTypegetAverageProcessingTime, getExecutionErrors, getFatalErrors, getMaxProcessingTime, getMinProcessingTime, getProcessedEvents, getTotalProcessingTimepublic ServiceService(String name, MuleContext muleContext)
public int getQueueSize()
ServiceServiceMBeangetQueueSize in interface ServiceServiceMBeanpublic void pause()
throws MuleException
pause in interface ServiceServiceMBeanMuleException - if the service failed to pause.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()
FlowConstructServiceMBeangetStatistics in interface FlowConstructServiceMBeangetStatistics in class FlowConstructServiceFlowConstructStatspublic ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister in interface MBeanRegistrationpreRegister in class FlowConstructServiceExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpostRegister in class FlowConstructServicepublic void preDeregister()
throws Exception
preDeregister in interface MBeanRegistrationpreDeregister in class FlowConstructServiceExceptionpublic void postDeregister()
postDeregister in interface MBeanRegistrationpostDeregister in class FlowConstructServicepublic void clearStatistics()
clearStatistics in interface FlowConstructStatsMBeanclearStatistics in class FlowConstructServicepublic long getAsyncEventsReceived()
getAsyncEventsReceived in interface FlowConstructStatsMBeangetAsyncEventsReceived in class FlowConstructServicepublic long getSyncEventsReceived()
getSyncEventsReceived in interface FlowConstructStatsMBeangetSyncEventsReceived in class FlowConstructServicepublic long getTotalEventsReceived()
getTotalEventsReceived in interface FlowConstructStatsMBeangetTotalEventsReceived in class FlowConstructServicepublic 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 getMaxExecutionTime()
getMaxExecutionTime in interface ServiceStatsMBeanpublic long getMaxQueueSize()
getMaxQueueSize in interface ServiceStatsMBeanpublic long getMinExecutionTime()
getMinExecutionTime in interface ServiceStatsMBeanpublic long getQueuedEvents()
getQueuedEvents in interface ServiceStatsMBeanpublic long getReplyToEventsSent()
getReplyToEventsSent in interface ServiceStatsMBeanpublic long getSyncEventsSent()
getSyncEventsSent in interface ServiceStatsMBeanpublic long getTotalEventsSent()
getTotalEventsSent in interface ServiceStatsMBeanpublic long getTotalExecutionTime()
getTotalExecutionTime in interface ServiceStatsMBeanCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.