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
|
DEFAULT_JMX_NAME| Constructor and Description |
|---|
StatisticsService() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Collection<?> |
getComponentStatistics()
Deprecated.
use #getServiceStatistics
|
Collection<FlowConstructStatistics> |
getServiceStatistics() |
boolean |
isEnabled() |
void |
logSummary() |
String |
printCSVSummary() |
String |
printHtmlSummary() |
String |
printXmlSummary() |
void |
setEnabled(boolean b) |
void |
setMuleContext(MuleContext context) |
protected static final org.apache.commons.logging.Log logger
public void setMuleContext(MuleContext context)
public void clear()
public boolean isEnabled()
isEnabled in interface Statisticspublic void setEnabled(boolean b)
@Deprecated public Collection<?> getComponentStatistics()
public Collection<FlowConstructStatistics> getServiceStatistics()
public void logSummary()
public String printCSVSummary()
printCSVSummary in interface StatisticsServiceMBeanpublic String printHtmlSummary()
printHtmlSummary in interface StatisticsServiceMBeanpublic String printXmlSummary()
printXmlSummary in interface StatisticsServiceMBeanCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.