org.mule.module.management.mbean
Interface ServiceServiceMBean

All Superinterfaces:
FlowConstructServiceMBean, FlowConstructStatsMBean, ServiceStatsMBean, Startable, Stoppable
All Known Implementing Classes:
ServiceService

Deprecated.

@Deprecated
public interface ServiceServiceMBean
extends Stoppable, Startable, FlowConstructServiceMBean, ServiceStatsMBean

ServiceServiceMBean defines the management interface for a mule managed service.


Field Summary
static String DEFAULT_JMX_NAME_PREFIX
          Deprecated.  
 
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()
          Deprecated.  
 void forceStop()
          Deprecated. Causes the service to stop without processing its event queue first
 int getQueueSize()
          Deprecated. The number of queued events for this service
 boolean isPaused()
          Deprecated.  
 boolean isStopped()
          Deprecated.  
 boolean isStopping()
          Deprecated.  
 void pause()
          Deprecated. Pauses event processing for theComponent.
 void resume()
          Deprecated. 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.FlowConstructServiceMBean
getName, getStatistics, getType
 
Methods inherited from interface org.mule.module.management.mbean.ServiceStatsMBean
getAsyncEventsSent, getAverageExecutionTime, getAverageQueueSize, getExecutedEvents, getMaxExecutionTime, getMaxQueueSize, getMinExecutionTime, getQueuedEvents, getReplyToEventsSent, getSyncEventsSent, getTotalEventsSent, getTotalExecutionTime
 
Methods inherited from interface org.mule.module.management.mbean.FlowConstructStatsMBean
clearStatistics, getAsyncEventsReceived, getAverageProcessingTime, getExecutionErrors, getFatalErrors, getMaxProcessingTime, getMinProcessingTime, getProcessedEvents, getSyncEventsReceived, getTotalEventsReceived, getTotalProcessingTime
 

Field Detail

DEFAULT_JMX_NAME_PREFIX

static final String DEFAULT_JMX_NAME_PREFIX
Deprecated. 
See Also:
Constant Field Values
Method Detail

getQueueSize

int getQueueSize()
Deprecated. 
The number of queued events for this service

Returns:
The number of queued events for this service

pause

void pause()
           throws MuleException
Deprecated. 
Pauses event processing for theComponent. Unlike stop(), a paused service will still consume messages from the underlying transport, but those messages will be queued until the service is resumed. In order to persist these queued messages you can set the 'recoverableMode' property on the Muleconfiguration to true. this causes all internal queues to store their state.

Throws:
MuleException - if the service failed to pause.
See Also:
MuleConfiguration

resume

void resume()
            throws MuleException
Deprecated. 
Resumes the Service that has been paused. If the service is not paused nothing is executed.

Throws:
MuleException - if the service failed to resume

isPaused

boolean isPaused()
Deprecated. 

isStopped

boolean isStopped()
Deprecated. 

dispose

void dispose()
             throws MuleException
Deprecated. 
Throws:
MuleException

forceStop

void forceStop()
               throws MuleException
Deprecated. 
Causes the service to stop without processing its event queue first

Throws:
MuleException

isStopping

boolean isStopping()
Deprecated. 


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.