Class MeanAggregator
java.lang.Object
org.apache.jmeter.report.processor.MeanAggregator
- All Implemented Interfaces:
Aggregator
The class MeanAggregator is used to get mean from samples.
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MeanAggregator
public MeanAggregator()
-
-
Method Details
-
getCount
public long getCount()Description copied from interface:Aggregator
Gets the number of aggregated values.- Specified by:
getCount
in interfaceAggregator
- Returns:
- the number of aggregated values
-
getResult
public double getResult()Description copied from interface:Aggregator
Gets the result of the aggregation using stored values.- Specified by:
getResult
in interfaceAggregator
- Returns:
- the result of the aggregation.
-
addValue
public void addValue(double value) Description copied from interface:Aggregator
Adds the specified value to the storage of the current aggregator.- Specified by:
addValue
in interfaceAggregator
- Parameters:
value
- the value to aggregate
-
reset
public void reset()Description copied from interface:Aggregator
Reset the state of the aggregator.- Specified by:
reset
in interfaceAggregator
-