public abstract class AbstractOperationMixRunner extends Object implements OperationMixRunner
Constructor and Description |
---|
AbstractOperationMixRunner(MixOrderProvider provider) |
Modifier and Type | Method and Description |
---|---|
<T extends Options> |
run(Runner<T> runner,
T options,
OperationMix mix)
Performs a operation mix run returning the statistics as a
OperationMixRun |
protected <T extends Options> |
runOp(Runner<T> runner,
T options,
Operation op)
Runs an operation based on the configured
OperationRunner using
the DefaultOperationRunner if none is configured |
<T extends Options> |
warmup(Runner<T> runner,
T options,
OperationMix mix)
Performs a operation mix warmup run returning the statistics as a
OperationMixRun |
public AbstractOperationMixRunner(MixOrderProvider provider)
protected <T extends Options> OperationRun runOp(Runner<T> runner, T options, Operation op)
OperationRunner
using
the DefaultOperationRunner
if none is configuredoptions
- Optionsop
- Operation to 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
runner
- Runneroptions
- Optionsmix
- Operation mix to be runpublic <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
runner
- Runneroptions
- Optionsmix
- Operation mix to be runCopyright © 2016. All rights reserved.