public interface ServiceServiceMBean extends Stoppable, Startable, ServiceStatsMBean
ServiceServiceMBean
defines the management interface for a mule
managed service.PHASE_NAME
PHASE_NAME
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
forceStop()
Causes the service to stop without processing its event queue first
|
String |
getName()
The name of this service
|
int |
getQueueSize()
The number of queued events for this service
|
ObjectName |
getStatistics()
The statistics for this service
|
boolean |
isPaused() |
boolean |
isStopped() |
boolean |
isStopping() |
void |
pause()
Pauses event processing for theComponent.
|
void |
resume()
Resumes the Service that has been paused.
|
clearStatistics, getAsyncEventsReceived, getAsyncEventsSent, getAverageExecutionTime, getAverageQueueSize, getExecutedEvents, getExecutionErrors, getFatalErrors, getMaxExecutionTime, getMaxQueueSize, getMinExecutionTime, getQueuedEvents, getReplyToEventsSent, getSyncEventsReceived, getSyncEventsSent, getTotalEventsReceived, getTotalEventsSent, getTotalExecutionTime
ObjectName getStatistics()
ServiceStats
String getName()
int getQueueSize()
void pause() throws MuleException
MuleException
- if the service failed to pause.org.mule.config.MuleConfiguration
void resume() throws MuleException
MuleException
- if the service failed to resumeboolean isPaused()
boolean isStopped()
void dispose() throws MuleException
MuleException
void forceStop() throws MuleException
MuleException
boolean isStopping()
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.