public class FlowConstructService extends Object implements FlowConstructServiceMBean, MBeanRegistration, FlowConstructStatsMBean
FlowConstructService exposes service information about a Mule Managed
flow construct.| Modifier and Type | Field and Description |
|---|---|
protected JmxSupport |
jmxSupport |
protected JmxSupportFactory |
jmxSupportFactory |
protected MuleContext |
muleContext |
protected String |
name |
protected ObjectName |
objectName |
protected MBeanServer |
server |
protected FlowConstructStatistics |
statistics |
protected ObjectName |
statsName |
protected String |
type |
| Modifier | Constructor and Description |
|---|---|
protected |
FlowConstructService(String type,
String name,
MuleContext muleContext) |
|
FlowConstructService(String type,
String name,
MuleContext muleContext,
FlowConstructStatistics statistics) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearStatistics() |
long |
getAsyncEventsReceived() |
long |
getAverageProcessingTime() |
long |
getExecutionErrors() |
long |
getFatalErrors() |
long |
getMaxProcessingTime() |
long |
getMinProcessingTime() |
String |
getName()
The name of this service
|
long |
getProcessedEvents() |
ObjectName |
getStatistics()
The statistics for this flow construct
|
long |
getSyncEventsReceived() |
long |
getTotalEventsReceived() |
long |
getTotalProcessingTime() |
String |
getType()
The type of flow construct
|
void |
postDeregister() |
void |
postRegister(Boolean registrationDone) |
void |
preDeregister() |
ObjectName |
preRegister(MBeanServer server,
ObjectName name) |
protected FlowConstructStatistics statistics
protected MBeanServer server
protected String name
protected String type
protected ObjectName statsName
protected ObjectName objectName
protected MuleContext muleContext
protected JmxSupportFactory jmxSupportFactory
protected JmxSupport jmxSupport
public FlowConstructService(String type, String name, MuleContext muleContext, FlowConstructStatistics statistics)
protected FlowConstructService(String type, String name, MuleContext muleContext)
public String getName()
FlowConstructServiceMBeangetName in interface FlowConstructServiceMBeanpublic String getType()
FlowConstructServiceMBeangetType in interface FlowConstructServiceMBeanpublic ObjectName getStatistics()
FlowConstructServiceMBeangetStatistics in interface FlowConstructServiceMBeanFlowConstructStatspublic void clearStatistics()
clearStatistics in interface FlowConstructStatsMBeanpublic long getAsyncEventsReceived()
getAsyncEventsReceived in interface FlowConstructStatsMBeanpublic long getSyncEventsReceived()
getSyncEventsReceived in interface FlowConstructStatsMBeanpublic long getTotalEventsReceived()
getTotalEventsReceived in interface FlowConstructStatsMBeanpublic long getAverageProcessingTime()
getAverageProcessingTime in interface FlowConstructStatsMBeanpublic long getProcessedEvents()
getProcessedEvents in interface FlowConstructStatsMBeanpublic long getMaxProcessingTime()
getMaxProcessingTime in interface FlowConstructStatsMBeanpublic long getMinProcessingTime()
getMinProcessingTime in interface FlowConstructStatsMBeanpublic long getTotalProcessingTime()
getTotalProcessingTime in interface FlowConstructStatsMBeanpublic long getExecutionErrors()
getExecutionErrors in interface FlowConstructStatsMBeanpublic long getFatalErrors()
getFatalErrors in interface FlowConstructStatsMBeanpublic ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
preRegister in interface MBeanRegistrationExceptionpublic void postRegister(Boolean registrationDone)
postRegister in interface MBeanRegistrationpublic void preDeregister()
throws Exception
preDeregister in interface MBeanRegistrationExceptionpublic void postDeregister()
postDeregister in interface MBeanRegistrationCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.