public class SoftLatencyEvaluator extends LatencyEvaluator
Constructor and Description |
---|
SoftLatencyEvaluator(double maxValue,
double defaultPercentile)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
getMean()
Get the mean latency as last recorded
|
void |
record(org.HdrHistogram.Histogram histogram)
Record the condition
|
eval, getMaxValue, setEvalFailed
public SoftLatencyEvaluator(double maxValue, double defaultPercentile)
maxValue
- maximum latency valuedefaultPercentile
- percentile to collect the latencypublic void record(org.HdrHistogram.Histogram histogram)
Evaluator
histogram
- data containing the condition to be evaluatedpublic double getMean()
LatencyEvaluator
getMean
in class LatencyEvaluator
This documentation was released into the public domain.