org.mule.management.stats
Class FlowConstructStatistics
java.lang.Object
org.mule.management.stats.AbstractFlowConstructStatistics
org.mule.management.stats.FlowConstructStatistics
- All Implemented Interfaces:
- Serializable, Statistics
- Direct Known Subclasses:
- ServiceStatistics
public class FlowConstructStatistics
- extends AbstractFlowConstructStatistics
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
flowStatistics
protected final ComponentStatistics flowStatistics
FlowConstructStatistics
public FlowConstructStatistics(String flowConstructType,
String name,
int threadPoolSize)
isEnabled
public boolean isEnabled()
- Are statistics logged
- Specified by:
isEnabled
in interface Statistics
- Overrides:
isEnabled
in class AbstractFlowConstructStatistics
incExecutionError
public void incExecutionError()
incFatalError
public void incFatalError()
setEnabled
public void setEnabled(boolean b)
- Enable statistics logs (this is a dynamic parameter)
- Overrides:
setEnabled
in class AbstractFlowConstructStatistics
clear
public void clear()
- Overrides:
clear
in class AbstractFlowConstructStatistics
addCompleteFlowExecutionTime
public void addCompleteFlowExecutionTime(long time)
addFlowExecutionBranchTime
public void addFlowExecutionBranchTime(long time,
long total)
getAverageProcessingTime
public long getAverageProcessingTime()
getProcessedEvents
public long getProcessedEvents()
getMaxProcessingTime
public long getMaxProcessingTime()
getMinProcessingTime
public long getMinProcessingTime()
getTotalProcessingTime
public long getTotalProcessingTime()
getExecutionErrors
public long getExecutionErrors()
getFatalErrors
public long getFatalErrors()
getThreadPoolSize
public int getThreadPoolSize()
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.