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()
FlowConstructServiceMBean
getName
in interface FlowConstructServiceMBean
public String getType()
FlowConstructServiceMBean
getType
in interface FlowConstructServiceMBean
public ObjectName getStatistics()
FlowConstructServiceMBean
getStatistics
in interface FlowConstructServiceMBean
FlowConstructStats
public void clearStatistics()
clearStatistics
in interface FlowConstructStatsMBean
public long getAsyncEventsReceived()
getAsyncEventsReceived
in interface FlowConstructStatsMBean
public long getSyncEventsReceived()
getSyncEventsReceived
in interface FlowConstructStatsMBean
public long getTotalEventsReceived()
getTotalEventsReceived
in interface FlowConstructStatsMBean
public long getAverageProcessingTime()
getAverageProcessingTime
in interface FlowConstructStatsMBean
public long getProcessedEvents()
getProcessedEvents
in interface FlowConstructStatsMBean
public long getMaxProcessingTime()
getMaxProcessingTime
in interface FlowConstructStatsMBean
public long getMinProcessingTime()
getMinProcessingTime
in interface FlowConstructStatsMBean
public long getTotalProcessingTime()
getTotalProcessingTime
in interface FlowConstructStatsMBean
public long getExecutionErrors()
getExecutionErrors
in interface FlowConstructStatsMBean
public long getFatalErrors()
getFatalErrors
in interface FlowConstructStatsMBean
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
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.