public class StatisticsReporter extends Object
| Constructor and Description |
|---|
StatisticsReporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
endReportForAllOnRequestProcessed(MessageContext synCtx)
Ends statistics reporting for any component after the request processed.
|
static void |
reportFaultForAll(MessageContext synCtx,
ErrorLog errorLog)
Reporting a fault for any component when a response for a request is received.
|
static void |
reportForAllOnOutFlowEnd(MessageContext synCtx)
Reports statistics on the end of the out flow
|
static void |
reportForAllOnResponseReceived(MessageContext synCtx)
Collects statistics for any component when a response for a request is received.
|
static void |
reportForAllOnResponseSent(MessageContext synCtx)
Reports statistics for any component on the response message is sent
Any component means that this statistics log (check point) is valid for sequence, endpoint,
and proxy.
|
static void |
reportForComponent(MessageContext synCtx,
StatisticsConfigurable configurable,
ComponentType componentType)
Collects statistics for the given component.This is the starting point of
collecting stats for a particular component
|
public static void reportForComponent(MessageContext synCtx, StatisticsConfigurable configurable, ComponentType componentType)
synCtx - the current message being passed through the synapseconfigurable - a component that can be configured it's auditcomponentType - the type of the component which needs to collect statisticspublic static void reportForAllOnResponseReceived(MessageContext synCtx)
synCtx - the current message being passed through the synapsepublic static void reportFaultForAll(MessageContext synCtx, ErrorLog errorLog)
synCtx - synCtx Current Message through synapseerrorLog - the received error informationpublic static void reportForAllOnResponseSent(MessageContext synCtx)
synCtx - MessageContext instancepublic static void endReportForAllOnRequestProcessed(MessageContext synCtx)
synCtx - MessageContext instancepublic static void reportForAllOnOutFlowEnd(MessageContext synCtx)
synCtx - MessageContext instanceCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.