| java.lang.Object org.apache.synapse.statistics.StatisticsCollector
StatisticsCollector | public class StatisticsCollector (Code) | | To collect statistics
|
Method Summary | |
public Map | getEndPointStatistics() | public Map | getProxyServiceStatistics() | public Map | getSequenceStatistics() | public void | reportForEndPoint(String keyOfStatistic, boolean isResponse, long inTime, long outTime, boolean isFault) | public void | reportForProxyService(String keyOfStatistic, boolean isResponse, long inTime, long outTime, boolean isFault) | public void | reportForSequence(String keyOfStatistic, boolean isResponse, long inTime, long outTime, boolean isFault) | public void | resetEndPointStatistics() | public void | resetProxyServiceStatistics() | public void | resetSequenceStatistics() |
getEndPointStatistics | public Map getEndPointStatistics()(Code) | | To access all endpoint statistics
all endpoint statistics |
getProxyServiceStatistics | public Map getProxyServiceStatistics()(Code) | | To access all proxy services statistics
all proxy services statistics |
getSequenceStatistics | public Map getSequenceStatistics()(Code) | | To access all sequence statistics
all sequence statistics |
reportForEndPoint | public void reportForEndPoint(String keyOfStatistic, boolean isResponse, long inTime, long outTime, boolean isFault)(Code) | | To report the statistics related to a EndPonit
Parameters: keyOfStatistic - - key for hold Statistic Parameters: isResponse - - A boolean value that indicate whether message flow is in or out Parameters: inTime - - The processing start time Parameters: outTime - - The processing end time Parameters: isFault - - A boolean value that indicate whether falut has occured or not |
reportForProxyService | public void reportForProxyService(String keyOfStatistic, boolean isResponse, long inTime, long outTime, boolean isFault)(Code) | | To report the statistics related to a ProxyService
Parameters: keyOfStatistic - - key for hold Statistic Parameters: isResponse - - A boolean value that indicate whether message flow is in or out Parameters: inTime - - The processing start time Parameters: outTime - - The processing end time Parameters: isFault - - A boolean value that indicate whether falut has occured or not |
reportForSequence | public void reportForSequence(String keyOfStatistic, boolean isResponse, long inTime, long outTime, boolean isFault)(Code) | | To report the statistics related to a Sequence
Parameters: keyOfStatistic - - key for hold Statistic Parameters: isResponse - - A boolean value that indicate whether message flow is in or out Parameters: inTime - - The processing start time Parameters: outTime - - The processing end time Parameters: isFault - - A boolean value that indicate whether falut has occured or not |
resetEndPointStatistics | public void resetEndPointStatistics()(Code) | | To reset the endpoint statistics
|
resetProxyServiceStatistics | public void resetProxyServiceStatistics()(Code) | | To reset the proxy service statistics
|
resetSequenceStatistics | public void resetSequenceStatistics()(Code) | | To reset the sequence statistics
|
|
|