public class IntelligentMixRunner extends AbstractOperationMixRunner
Constructor and Description |
---|
IntelligentMixRunner(MixOrderProvider provider,
long failureThreshold,
double timeoutTuningFactor) |
Modifier and Type | Method and Description |
---|---|
protected <T extends Options> |
checkFailureThreshold(Runner<T> runner,
T options,
OperationMix mix,
Set<Integer> excludes,
OperationRun opRun) |
<T extends Options> |
run(Runner<T> runner,
T options,
OperationMix mix)
Performs a operation mix run returning the statistics as a
OperationMixRun |
<T extends Options> |
warmup(Runner<T> runner,
T options,
OperationMix mix)
Performs a operation mix warmup run returning the statistics as a
OperationMixRun |
runOp
public IntelligentMixRunner(MixOrderProvider provider, long failureThreshold, double timeoutTuningFactor)
public <T extends Options> OperationMixRun run(Runner<T> runner, T options, OperationMix mix)
OperationMixRunner
OperationMixRun
Implementations are expected to record the information within the
OperationMixStats
object of the given OperationMix
instance prior to returning the statistics.
run
in interface OperationMixRunner
run
in class AbstractOperationMixRunner
runner
- Runneroptions
- Optionsmix
- Operation mix to be runpublic <T extends Options> OperationMixRun warmup(Runner<T> runner, T options, OperationMix mix)
OperationMixRunner
OperationMixRun
Implementations are expected to record the information within the
OperationMixStats
object of the given OperationMix
instance prior to returning the statistics.
warmup
in interface OperationMixRunner
warmup
in class AbstractOperationMixRunner
runner
- Runneroptions
- Optionsmix
- Operation mix to be runprotected <T extends Options> void checkFailureThreshold(Runner<T> runner, T options, OperationMix mix, Set<Integer> excludes, OperationRun opRun)
Copyright © 2016. All rights reserved.