Class MaxAggregator
-
- All Implemented Interfaces:
-
org.apache.jmeter.report.processor.Aggregator
public class MaxAggregator implements Aggregator
The class MaxAggregator is used to get maximum from samples.
- Since:
3.0
-
-
Field Summary
Fields Modifier and Type Field Description public long
count
-
Constructor Summary
Constructors Constructor Description MaxAggregator()
-
Method Summary
Modifier and Type Method Description long
getCount()
Gets the number of aggregated values. double
getResult()
Gets the result of the aggregation using stored values. void
addValue(double value)
Adds the specified value to the storage of the current aggregator. void
reset()
Reset the state of the aggregator. -
-
Method Detail
-
getCount
long getCount()
Gets the number of aggregated values.
- Returns:
the number of aggregated values
-
getResult
double getResult()
Gets the result of the aggregation using stored values.
- Returns:
the result of the aggregation.
-
addValue
void addValue(double value)
Adds the specified value to the storage of the current aggregator.
- Parameters:
value
- the value to aggregate
-
reset
void reset()
Reset the state of the aggregator.
-
-
-
-