org.mule.management.stats
Class FlowConstructStatistics
java.lang.Object
org.mule.management.stats.AbstractFlowConstructStatistics
org.mule.management.stats.FlowConstructStatistics
- All Implemented Interfaces:
- Serializable, Statistics, QueueStatistics
- Direct Known Subclasses:
- ApplicationStatistics, ServiceStatistics
public class FlowConstructStatistics
- extends AbstractFlowConstructStatistics
- implements QueueStatistics
- 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,
ProcessingStrategy processingStrategy)
FlowConstructStatistics
public FlowConstructStatistics(String flowConstructType,
String name,
int maxThreadSize)
FlowConstructStatistics
public FlowConstructStatistics(String flowConstructType,
String name)
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()
incQueuedEvent
public void incQueuedEvent()
- Specified by:
incQueuedEvent
in interface QueueStatistics
decQueuedEvent
public void decQueuedEvent()
- Specified by:
decQueuedEvent
in interface QueueStatistics
getAverageQueueSize
public long getAverageQueueSize()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.