public class CachingStatCalculator extends SamplingStatCalculator
Constructor and Description |
---|
CachingStatCalculator(String string) |
Modifier and Type | Method and Description |
---|---|
Sample |
addSample(SampleResult res)
Records a sample.
|
void |
clear()
Clear the counters (useful for differential stats)
|
Sample |
getSample(int index) |
List<Sample> |
getSamples() |
getAvgPageBytes, getBytesPerSecond, getCount, getCurrentSample, getDistribution, getElapsed, getErrorCount, getErrorPercentage, getKBPerSecond, getLabel, getMax, getMaxThroughput, getMean, getMeanAsNumber, getMedian, getMin, getPercentPoint, getPercentPoint, getRate, getSentBytesPerSecond, getSentKBPerSecond, getStandardDeviation, toString
public CachingStatCalculator(String string)
public Sample getSample(int index)
public void clear()
SamplingStatCalculator
clear
in class SamplingStatCalculator
public Sample addSample(SampleResult res)
addSample
in class SamplingStatCalculator
res
- the sample to recordCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.