org.wso2.carbon.statistics.internal
Class ResponseTimeProcessor

java.lang.Object
  extended by org.wso2.carbon.statistics.internal.ResponseTimeProcessor

public class ResponseTimeProcessor
extends Object

A utility class to compute response times.


Constructor Summary
ResponseTimeProcessor()
           
 
Method Summary
 void addResponseTime(long responseTime, long requestCount)
           
 double getAvgResponseTime()
           
 long getMaxResponseTime()
           
 long getMinResponseTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseTimeProcessor

public ResponseTimeProcessor()
Method Detail

addResponseTime

public void addResponseTime(long responseTime,
                            long requestCount)

getMaxResponseTime

public long getMaxResponseTime()

getAvgResponseTime

public double getAvgResponseTime()

getMinResponseTime

public long getMinResponseTime()


Copyright © 2015 WSO2. All rights reserved.