public class FlowConstructStatistics extends AbstractFlowConstructStatistics implements Statistics
| Modifier and Type | Field and Description |
|---|---|
protected ComponentStatistics |
flowStatistics |
enabled, flowConstructType, name, receivedEvents| Constructor and Description |
|---|
FlowConstructStatistics(String flowConstructType,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCompleteFlowExecutionTime(long time) |
void |
addFlowExecutionBranchTime(long time,
long total) |
void |
clear() |
long |
getAverageProcessingTime() |
long |
getExecutionErrors() |
long |
getFatalErrors() |
long |
getMaxProcessingTime() |
long |
getMinProcessingTime() |
long |
getProcessedEvents() |
long |
getTotalProcessingTime() |
void |
incExecutionError() |
void |
incFatalError() |
boolean |
isEnabled()
Are statistics logged
|
void |
setEnabled(boolean b)
Enable statistics logs (this is a dynamic parameter)
|
getFlowConstructType, getName, getSamplePeriod, getTotalEventsReceived, incReceivedEvents, setNameprotected final ComponentStatistics flowStatistics
public boolean isEnabled()
isEnabled in interface StatisticsisEnabled in class AbstractFlowConstructStatisticspublic void incExecutionError()
public void incFatalError()
public void setEnabled(boolean b)
setEnabled in class AbstractFlowConstructStatisticspublic void clear()
clear in class AbstractFlowConstructStatisticspublic void addCompleteFlowExecutionTime(long time)
public void addFlowExecutionBranchTime(long time,
long total)
public long getAverageProcessingTime()
public long getProcessedEvents()
public long getMaxProcessingTime()
public long getMinProcessingTime()
public long getTotalProcessingTime()
public long getExecutionErrors()
public long getFatalErrors()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.