org.mule.module.management.mbean
Class FlowConstructService
java.lang.Object
org.mule.module.management.mbean.FlowConstructService
- All Implemented Interfaces:
- MBeanRegistration, FlowConstructServiceMBean, FlowConstructStatsMBean
- Direct Known Subclasses:
- ApplicationService, ServiceService
public class FlowConstructService
- extends Object
- implements FlowConstructServiceMBean, MBeanRegistration, FlowConstructStatsMBean
FlowConstructService
exposes service information about a Mule Managed
flow construct.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statistics
protected FlowConstructStatistics statistics
server
protected MBeanServer server
name
protected String name
type
protected String type
statsName
protected ObjectName statsName
objectName
protected ObjectName objectName
muleContext
protected MuleContext muleContext
FlowConstructService
public FlowConstructService(String type,
String name,
MuleContext muleContext,
FlowConstructStatistics statistics)
FlowConstructService
protected FlowConstructService(String type,
String name,
MuleContext muleContext)
getName
public String getName()
- Description copied from interface:
FlowConstructServiceMBean
- The name of this service
- Specified by:
getName
in interface FlowConstructServiceMBean
- Returns:
- The name of this service
getType
public String getType()
- Description copied from interface:
FlowConstructServiceMBean
- The type of flow construct
- Specified by:
getType
in interface FlowConstructServiceMBean
getStatistics
public ObjectName getStatistics()
- Description copied from interface:
FlowConstructServiceMBean
- The statistics for this flow construct
- Specified by:
getStatistics
in interface FlowConstructServiceMBean
- Returns:
- statistics for this flow construct
- See Also:
FlowConstructStats
clearStatistics
public void clearStatistics()
- Specified by:
clearStatistics
in interface FlowConstructStatsMBean
getAsyncEventsReceived
public long getAsyncEventsReceived()
- Specified by:
getAsyncEventsReceived
in interface FlowConstructStatsMBean
getSyncEventsReceived
public long getSyncEventsReceived()
- Specified by:
getSyncEventsReceived
in interface FlowConstructStatsMBean
getTotalEventsReceived
public long getTotalEventsReceived()
- Specified by:
getTotalEventsReceived
in interface FlowConstructStatsMBean
getAverageProcessingTime
public long getAverageProcessingTime()
- Specified by:
getAverageProcessingTime
in interface FlowConstructStatsMBean
getProcessedEvents
public long getProcessedEvents()
- Specified by:
getProcessedEvents
in interface FlowConstructStatsMBean
getMaxProcessingTime
public long getMaxProcessingTime()
- Specified by:
getMaxProcessingTime
in interface FlowConstructStatsMBean
getMinProcessingTime
public long getMinProcessingTime()
- Specified by:
getMinProcessingTime
in interface FlowConstructStatsMBean
getTotalProcessingTime
public long getTotalProcessingTime()
- Specified by:
getTotalProcessingTime
in interface FlowConstructStatsMBean
getExecutionErrors
public long getExecutionErrors()
- Specified by:
getExecutionErrors
in interface FlowConstructStatsMBean
getFatalErrors
public long getFatalErrors()
- Specified by:
getFatalErrors
in interface FlowConstructStatsMBean
preRegister
public ObjectName preRegister(MBeanServer server,
ObjectName name)
throws Exception
- Specified by:
preRegister
in interface MBeanRegistration
- Throws:
Exception
postRegister
public void postRegister(Boolean registrationDone)
- Specified by:
postRegister
in interface MBeanRegistration
preDeregister
public void preDeregister()
throws Exception
- Specified by:
preDeregister
in interface MBeanRegistration
- Throws:
Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface MBeanRegistration
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.