public class ComponentStatistics extends Object implements Statistics
| Constructor and Description |
|---|
ComponentStatistics() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExecutionTime(long time) |
void |
clear() |
long |
getAverageExecutionTime() |
long |
getExecutedEvents() |
long |
getMaxExecutionTime() |
long |
getMinExecutionTime() |
long |
getTotalExecutionTime() |
boolean |
isEnabled()
Are statistics logged
|
void |
logSummary() |
void |
logSummary(PrintWriter printer) |
void |
setEnabled(boolean b)
Enable statistics logs (this is a dynamic parameter)
|
public void clear()
clear in interface Statisticspublic boolean isEnabled()
StatisticsisEnabled in interface Statisticspublic void logSummary()
logSummary in interface Statisticspublic void logSummary(PrintWriter printer)
public void setEnabled(boolean b)
StatisticssetEnabled in interface Statisticspublic long getMaxExecutionTime()
public long getMinExecutionTime()
public long getTotalExecutionTime()
public long getExecutedEvents()
public void addExecutionTime(long time)
public long getAverageExecutionTime()
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.