Class PercentileAggregator
java.lang.Object
org.apache.jmeter.report.processor.PercentileAggregator
- All Implemented Interfaces:
 Aggregator
The class PercentileAggregator is used to get percentile from samples.
- Since:
 - 3.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionPercentileAggregator(double index) Instantiates a new percentile aggregator.PercentileAggregator(PercentileAggregator lastAggregator)  - 
Method Summary
 
- 
Constructor Details
- 
PercentileAggregator
public PercentileAggregator(double index) Instantiates a new percentile aggregator.- Parameters:
 index- the index of the percentile
 - 
PercentileAggregator
- Parameters:
 lastAggregator-PercentileAggregator
 
 - 
 - 
Method Details
- 
getCount
public long getCount()Description copied from interface:AggregatorGets the number of aggregated values.- Specified by:
 getCountin interfaceAggregator- Returns:
 - the number of aggregated values
 
 - 
getResult
public double getResult()Description copied from interface:AggregatorGets the result of the aggregation using stored values.- Specified by:
 getResultin interfaceAggregator- Returns:
 - the result of the aggregation.
 
 - 
addValue
public void addValue(double value) Description copied from interface:AggregatorAdds the specified value to the storage of the current aggregator.- Specified by:
 addValuein interfaceAggregator- Parameters:
 value- the value to aggregate
 - 
reset
public void reset()Description copied from interface:AggregatorReset the state of the aggregator.- Specified by:
 resetin interfaceAggregator
 
 -