Class ResponseTimeProcessor
java.lang.Object
org.wso2.carbon.statistics.internal.ResponseTimeProcessor
A utility class to compute response times.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResponseTime(long responseTime, long requestCount) doublelonglong
-
Constructor Details
-
ResponseTimeProcessor
public ResponseTimeProcessor()
-
-
Method Details
-
addResponseTime
public void addResponseTime(long responseTime, long requestCount) -
getMaxResponseTime
public long getMaxResponseTime() -
getAvgResponseTime
public double getAvgResponseTime() -
getMinResponseTime
public long getMinResponseTime()
-