org.mule.management.stats
Class AbstractFlowConstructStatistics
java.lang.Object
org.mule.management.stats.AbstractFlowConstructStatistics
- All Implemented Interfaces:
- Serializable, Statistics
- Direct Known Subclasses:
- FlowConstructStatistics
public abstract class AbstractFlowConstructStatistics
- extends Object
- implements Statistics
Statistics common to flows and services
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
flowConstructType
protected final String flowConstructType
name
protected String name
enabled
protected boolean enabled
receivedEventSync
protected final AtomicLong receivedEventSync
receivedEventASync
protected final AtomicLong receivedEventASync
AbstractFlowConstructStatistics
public AbstractFlowConstructStatistics(String flowConstructType,
String name)
setEnabled
public void setEnabled(boolean b)
- Enable statistics logs (this is a dynamic parameter)
isEnabled
public boolean isEnabled()
- Are statistics logged
- Specified by:
isEnabled
in interface Statistics
getName
public String getName()
setName
public void setName(String name)
clear
public void clear()
incReceivedEventSync
public void incReceivedEventSync()
incReceivedEventASync
public void incReceivedEventASync()
getAsyncEventsReceived
public long getAsyncEventsReceived()
getSyncEventsReceived
public long getSyncEventsReceived()
getTotalEventsReceived
public long getTotalEventsReceived()
getFlowConstructType
public String getFlowConstructType()
getSamplePeriod
public long getSamplePeriod()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.