|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.api.lifecycle.Stoppable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Startable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
ServiceService(String name)
|
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)
Method Detail |
---|
public int getQueueSize()
ServiceServiceMBean
getQueueSize
in interface ServiceServiceMBean
public void pause() throws MuleException
pause
in interface ServiceServiceMBean
MuleException
- if the service failed to pause.org.mule.config.MuleConfiguration
public void resume() throws MuleException
resume
in interface ServiceServiceMBean
MuleException
- if the service failed to resumepublic boolean isPaused()
isPaused
in interface ServiceServiceMBean
public boolean isStopped()
isStopped
in interface ServiceServiceMBean
public void stop() throws MuleException
stop
in interface Stoppable
MuleException
public void forceStop() throws MuleException
ServiceServiceMBean
forceStop
in interface ServiceServiceMBean
MuleException
public boolean isStopping()
isStopping
in interface ServiceServiceMBean
public void dispose() throws MuleException
dispose
in interface ServiceServiceMBean
MuleException
public void start() throws MuleException
start
in interface Startable
MuleException
public ObjectName getStatistics()
ServiceServiceMBean
getStatistics
in interface ServiceServiceMBean
ServiceStats
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister
in interface MBeanRegistration
Exception
public void postRegister(Boolean registrationDone)
postRegister
in interface MBeanRegistration
public void preDeregister() throws Exception
preDeregister
in interface MBeanRegistration
Exception
public void postDeregister()
postDeregister
in interface MBeanRegistration
public void clearStatistics()
clearStatistics
in interface ServiceStatsMBean
public long getAsyncEventsReceived()
getAsyncEventsReceived
in interface ServiceStatsMBean
public long getAsyncEventsSent()
getAsyncEventsSent
in interface ServiceStatsMBean
public long getAverageExecutionTime()
getAverageExecutionTime
in interface ServiceStatsMBean
public long getAverageQueueSize()
getAverageQueueSize
in interface ServiceStatsMBean
public long getExecutedEvents()
getExecutedEvents
in interface ServiceStatsMBean
public long getExecutionErrors()
getExecutionErrors
in interface ServiceStatsMBean
public long getFatalErrors()
getFatalErrors
in interface ServiceStatsMBean
public long getMaxExecutionTime()
getMaxExecutionTime
in interface ServiceStatsMBean
public long getMaxQueueSize()
getMaxQueueSize
in interface ServiceStatsMBean
public long getMinExecutionTime()
getMinExecutionTime
in interface ServiceStatsMBean
public String getName()
ServiceServiceMBean
getName
in interface ServiceServiceMBean
public long getQueuedEvents()
getQueuedEvents
in interface ServiceStatsMBean
public long getReplyToEventsSent()
getReplyToEventsSent
in interface ServiceStatsMBean
public long getSyncEventsReceived()
getSyncEventsReceived
in interface ServiceStatsMBean
public long getSyncEventsSent()
getSyncEventsSent
in interface ServiceStatsMBean
public long getTotalEventsReceived()
getTotalEventsReceived
in interface ServiceStatsMBean
public long getTotalEventsSent()
getTotalEventsSent
in interface ServiceStatsMBean
public long getTotalExecutionTime()
getTotalExecutionTime
in interface ServiceStatsMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |