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, toStringpublic CachingStatCalculator(String string)
public Sample getSample(int index)
public void clear()
SamplingStatCalculatorclear in class SamplingStatCalculatorpublic Sample addSample(SampleResult res)
addSample in class SamplingStatCalculatorres - the sample to recordCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.