|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceServiceMBean
ServiceServiceMBean
defines the management interface for a mule
managed service.
Field Summary |
---|
Fields inherited from interface org.mule.api.lifecycle.Stoppable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Startable |
---|
PHASE_NAME |
Method Summary | |
---|---|
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. |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
---|
stop |
Methods inherited from interface org.mule.api.lifecycle.Startable |
---|
start |
Methods inherited from interface org.mule.module.management.mbean.ServiceStatsMBean |
---|
clearStatistics, getAsyncEventsReceived, getAsyncEventsSent, getAverageExecutionTime, getAverageQueueSize, getExecutedEvents, getExecutionErrors, getFatalErrors, getMaxExecutionTime, getMaxQueueSize, getMinExecutionTime, getQueuedEvents, getReplyToEventsSent, getSyncEventsReceived, getSyncEventsSent, getTotalEventsReceived, getTotalEventsSent, getTotalExecutionTime |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |