public class StatisticsService extends Object implements StatisticsServiceMBean
StatisicsService exposes Mule processing statistics| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger
logger used by this class
|
| Constructor and Description |
|---|
StatisticsService() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Collection |
getComponentStatistics() |
boolean |
isEnabled()
Are statistics logged
|
void |
logSummary() |
String |
printCSVSummary() |
String |
printHtmlSummary() |
String |
printXmlSummary() |
void |
setEnabled(boolean b)
Enable statistics logs (this is a dynamic parameter)
|
void |
setMuleContext(MuleContext context) |
protected static final org.apache.commons.logging.Log logger
public void setMuleContext(MuleContext context)
public void clear()
clear in interface StatisticsStatistics.clear()public boolean isEnabled()
StatisticsisEnabled in interface StatisticsStatistics.isEnabled()public void setEnabled(boolean b)
StatisticssetEnabled in interface StatisticsStatistics.setEnabled(boolean)public Collection getComponentStatistics()
public void logSummary()
logSummary in interface Statisticspublic String printCSVSummary()
printCSVSummary in interface StatisticsServiceMBeanpublic String printHtmlSummary()
printHtmlSummary in interface StatisticsServiceMBeanpublic String printXmlSummary()
printXmlSummary in interface StatisticsServiceMBeanCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.