org.mule.management.stats
Class FlowConstructStatistics

java.lang.Object
  extended by org.mule.management.stats.AbstractFlowConstructStatistics
      extended by 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

Field Summary
protected  ComponentStatistics flowStatistics
           
 
Fields inherited from class org.mule.management.stats.AbstractFlowConstructStatistics
enabled, flowConstructType, name, receivedEventASync, receivedEventSync
 
Constructor Summary
FlowConstructStatistics(String flowConstructType, String name)
           
FlowConstructStatistics(String flowConstructType, String name, int maxThreadSize)
           
FlowConstructStatistics(String flowConstructType, String name, ProcessingStrategy processingStrategy)
           
 
Method Summary
 void addCompleteFlowExecutionTime(long time)
           
 void addFlowExecutionBranchTime(long time, long total)
           
 void clear()
           
 void decQueuedEvent()
           
 long getAverageProcessingTime()
           
 long getAverageQueueSize()
           
 long getExecutionErrors()
           
 long getFatalErrors()
           
 long getMaxProcessingTime()
           
 long getMinProcessingTime()
           
 long getProcessedEvents()
           
 int getThreadPoolSize()
           
 long getTotalProcessingTime()
           
 void incExecutionError()
           
 void incFatalError()
           
 void incQueuedEvent()
           
 boolean isEnabled()
          Are statistics logged
 void setEnabled(boolean b)
          Enable statistics logs (this is a dynamic parameter)
 
Methods inherited from class org.mule.management.stats.AbstractFlowConstructStatistics
getAsyncEventsReceived, getFlowConstructType, getName, getSamplePeriod, getSyncEventsReceived, getTotalEventsReceived, incReceivedEventASync, incReceivedEventSync, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flowStatistics

protected final ComponentStatistics flowStatistics
Constructor Detail

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)
Method Detail

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.