public class StatisticsService extends Object implements StatisticsServiceMBean
StatisicsService
exposes Mule processing statisticsModifier 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 Statistics
Statistics.clear()
public boolean isEnabled()
Statistics
isEnabled
in interface Statistics
Statistics.isEnabled()
public void setEnabled(boolean b)
Statistics
setEnabled
in interface Statistics
Statistics.setEnabled(boolean)
public Collection getComponentStatistics()
public void logSummary()
logSummary
in interface Statistics
public String printCSVSummary()
printCSVSummary
in interface StatisticsServiceMBean
public String printHtmlSummary()
printHtmlSummary
in interface StatisticsServiceMBean
public String printXmlSummary()
printXmlSummary
in interface StatisticsServiceMBean
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.