Home » synapse-1.2-src » org.apache.synapse.statistics » [javadoc | source]
org.apache.synapse.statistics
public class: StatisticsHolder [javadoc | source]
java.lang.Object
   org.apache.synapse.statistics.StatisticsHolder
To hold statistics that will collected during both of in and out message mediation
Method from org.apache.synapse.statistics.StatisticsHolder Summary:
clearStatistics,   getInFlowStatistics,   getKey,   getOutFlowStatistics,   getStatisticsCategory,   setKey,   setStatisticsCategory,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.synapse.statistics.StatisticsHolder Detail:
 public synchronized  void clearStatistics() 
    To clear stored statistics
 public synchronized Statistics getInFlowStatistics() 
    To get Statistics related to the In Flow
 public String getKey() 
    To get key of statistics
 public synchronized Statistics getOutFlowStatistics() 
    To get Statistics related to the Out Flow
 public int getStatisticsCategory() 
    To get statistics category
 public  void setKey(String key) 
    To set key of statistics
 public  void setStatisticsCategory(int statisticsCategory) 
    To set statistics category
 public synchronized  void update(boolean isResponse,
    long inTime,
    long outTime,
    boolean isFault) 
    To update the statistics