public class StatisticsService extends Object implements StatisticsServiceMBean
StatisicsService
exposes Mule processing statisticsModifier and Type | Field and Description |
---|---|
protected static 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()
Are statistics logged
|
void |
logSummary() |
String |
printCSVSummary() |
String |
printHtmlSummary() |
String |
printXmlSummary() |
void |
setEnabled(boolean b) |
void |
setMuleContext(MuleContext context) |
protected static final Log logger
public void setMuleContext(MuleContext context)
public void clear()
public boolean isEnabled()
Statistics
isEnabled
in interface Statistics
public void setEnabled(boolean b)
@Deprecated public Collection<?> getComponentStatistics()
public Collection<FlowConstructStatistics> getServiceStatistics()
public void logSummary()
public String printCSVSummary()
printCSVSummary
in interface StatisticsServiceMBean
public String printHtmlSummary()
printHtmlSummary
in interface StatisticsServiceMBean
public String printXmlSummary()
printXmlSummary
in interface StatisticsServiceMBean
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.