Home » synapse-1.2-src » org.apache.synapse.statistics » [javadoc | source]
org.apache.synapse.statistics
public class: StatisticsCollector [javadoc | source]
java.lang.Object
   org.apache.synapse.statistics.StatisticsCollector
To collect statistics
Method from org.apache.synapse.statistics.StatisticsCollector Summary:
getEndPointStatistics,   getProxyServiceStatistics,   getSequenceStatistics,   reportForEndPoint,   reportForProxyService,   reportForSequence,   resetEndPointStatistics,   resetProxyServiceStatistics,   resetSequenceStatistics
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.synapse.statistics.StatisticsCollector Detail:
 public Map getEndPointStatistics() 
    To access all endpoint statistics
 public Map getProxyServiceStatistics() 
    To access all proxy services statistics
 public Map getSequenceStatistics() 
    To access all sequence statistics
 public  void reportForEndPoint(String keyOfStatistic,
    boolean isResponse,
    long inTime,
    long outTime,
    boolean isFault) 
    To report the statistics related to a EndPonit
 public  void reportForProxyService(String keyOfStatistic,
    boolean isResponse,
    long inTime,
    long outTime,
    boolean isFault) 
    To report the statistics related to a ProxyService
 public  void reportForSequence(String keyOfStatistic,
    boolean isResponse,
    long inTime,
    long outTime,
    boolean isFault) 
    To report the statistics related to a Sequence
 public  void resetEndPointStatistics() 
    To reset the endpoint statistics
 public  void resetProxyServiceStatistics() 
    To reset the proxy service statistics
 public  void resetSequenceStatistics() 
    To reset the sequence statistics