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 Statistics
public boolean isEnabled()
Statistics
isEnabled
in interface Statistics
public void logSummary()
logSummary
in interface Statistics
public void logSummary(PrintWriter printer)
public void setEnabled(boolean b)
Statistics
setEnabled
in interface Statistics
public long getMaxExecutionTime()
public long getMinExecutionTime()
public long getTotalExecutionTime()
public long getExecutedEvents()
public void addExecutionTime(long time)
public long getAverageExecutionTime()
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.