|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sparql.benchmarking.runners.mix.AbstractOperationMixRunner
public abstract class AbstractOperationMixRunner
Abstract implementation of an operation mix runner
Constructor Summary | |
---|---|
AbstractOperationMixRunner()
|
Method Summary | ||
---|---|---|
protected abstract
|
getOperationOrder(T options,
OperationMix mix)
Gets the order in which the runner should run the operations |
|
protected
|
reportOperationOrder(T options)
Whether the runner should report the order of operations as a progress message |
|
|
run(Runner<T> runner,
T options,
OperationMix mix)
Performs a operation mix run returning the statistics as a OperationMixRun |
|
protected
|
runOp(Runner<T> runner,
T options,
Operation op)
Runs an operation based on the configured OperationRunner using
the DefaultOperationRunner if none is configured |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractOperationMixRunner()
Method Detail |
---|
protected <T extends Options> OperationRun runOp(Runner<T> runner, T options, Operation op)
OperationRunner
using
the DefaultOperationRunner
if none is configured
options
- Optionsop
- Operation to run
protected abstract <T extends Options> List<Integer> getOperationOrder(T options, OperationMix mix)
options
- Optionsmix
- Mix containing the operations to be run
protected <T extends Options> boolean reportOperationOrder(T options)
The default implementation returns true
so operation order is
always reported
public <T extends Options> OperationMixRun run(Runner<T> runner, T options, OperationMix mix)
OperationMixRunner
OperationMixRun
Implementations are also 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 run
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |