Package org.apache.jmeter.visualizers
Class CachingStatCalculator
java.lang.Object
org.apache.jmeter.visualizers.SamplingStatCalculator
org.apache.jmeter.visualizers.CachingStatCalculator
Provides storage of samples in addition to calculations
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddSample
(SampleResult res) Records a sample.void
clear()
Clear the counters (useful for differential stats)getSample
(int index) Methods inherited from class org.apache.jmeter.visualizers.SamplingStatCalculator
getAvgPageBytes, getBytesPerSecond, getCount, getCurrentSample, getDistribution, getElapsed, getErrorCount, getErrorPercentage, getKBPerSecond, getLabel, getMax, getMaxThroughput, getMean, getMeanAsNumber, getMedian, getMin, getPercentPoint, getPercentPoint, getRate, getSentBytesPerSecond, getSentKBPerSecond, getStandardDeviation, toString
-
Constructor Details
-
CachingStatCalculator
-
-
Method Details
-
getSamples
-
getSample
-
clear
public void clear()Description copied from class:SamplingStatCalculator
Clear the counters (useful for differential stats)- Overrides:
clear
in classSamplingStatCalculator
-
addSample
Records a sample.- Overrides:
addSample
in classSamplingStatCalculator
- Parameters:
res
- the sample to record- Returns:
- newly created sample with current statistics
-