public static class AutoStopListener.TimeMetricConditionBuilder extends AutoStopListener.MetricConditionBuilder
ret| Modifier | Constructor and Description |
|---|---|
protected |
TimeMetricConditionBuilder(AutoStopConditionElement ret,
AutoStopMetric metric) |
| Modifier and Type | Method and Description |
|---|---|
AutoStopListener.AggregatedConditionBuilder<Duration> |
max()
Specifies to check the maximum value of the selected condition metric.
|
AutoStopListener.AggregatedConditionBuilder<Duration> |
mean()
Specifies to check the mean/average value of the selected condition metric.
|
AutoStopListener.AggregatedConditionBuilder<Duration> |
min()
Specifies to check the minimum value of the selected condition metric.
|
AutoStopListener.AggregatedConditionBuilder<Duration> |
percentile(double percentile)
Specifies to check a given percentile value of the selected condition metric.
|
protected TimeMetricConditionBuilder(AutoStopConditionElement ret, AutoStopMetric metric)
public AutoStopListener.AggregatedConditionBuilder<Duration> min()
By default, the minimum is not reset during a test plan execution and is evaluated on each
sample result. If you want to change this you can use
AutoStopListener.AggregatedConditionBuilder.every(Duration).
public AutoStopListener.AggregatedConditionBuilder<Duration> max()
By default, the maximum is not reset during a test plan execution and is evaluated on each
sample result. If you want to change this you can use
AutoStopListener.AggregatedConditionBuilder.every(Duration).
public AutoStopListener.AggregatedConditionBuilder<Duration> mean()
By default, the mean is not reset during a test plan execution and is evaluated on each
sample result. This might lead to the mean value being "stuck" by past sample results. Check
AutoStopListener.AggregatedConditionBuilder.every(Duration) for more details.
public AutoStopListener.AggregatedConditionBuilder<Duration> percentile(double percentile)
By default, the percentile is not reset during a test plan execution and is evaluated on each
sample result. If you want to change this you can use
AutoStopListener.AggregatedConditionBuilder.every(Duration).
Warning: as percentiles are calculated with P2 algorithm, they may not be
accurate when evaluating a few samples. This is specially important when using small
aggregation periods with AutoStopListener.AggregatedConditionBuilder.every(Duration).
percentile - specifies the percentile to use. For example to check the median, specify
50. To check the 90 percentile, then specify 90.Copyright © 2024. All rights reserved.