net.sf.sparql.benchmarking.runners.mix
Class InOrderOperationMixRunner

java.lang.Object
  extended by net.sf.sparql.benchmarking.runners.mix.AbstractOperationMixRunner
      extended by net.sf.sparql.benchmarking.runners.mix.InOrderOperationMixRunner
All Implemented Interfaces:
OperationMixRunner

public class InOrderOperationMixRunner
extends AbstractOperationMixRunner

An operation mix runner which runs all the operations in the mix in their exact order

Author:
rvesse

Constructor Summary
InOrderOperationMixRunner()
           
 
Method Summary
protected
<T extends Options>
List<Integer>
getOperationOrder(T options, OperationMix mix)
          Gets the order in which the runner should run the operations
protected
<T extends Options>
boolean
reportOperationOrder(T options)
          Returns false since there is no need to report the operation order since it will always be the same
 
Methods inherited from class net.sf.sparql.benchmarking.runners.mix.AbstractOperationMixRunner
run, runOp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InOrderOperationMixRunner

public InOrderOperationMixRunner()
Method Detail

getOperationOrder

protected <T extends Options> List<Integer> getOperationOrder(T options,
                                                              OperationMix mix)
Description copied from class: AbstractOperationMixRunner
Gets the order in which the runner should run the operations

Specified by:
getOperationOrder in class AbstractOperationMixRunner
Parameters:
options - Options
mix - Mix containing the operations to be run
Returns:
Operation order expressed as a list of IDs

reportOperationOrder

protected <T extends Options> boolean reportOperationOrder(T options)
Returns false since there is no need to report the operation order since it will always be the same

Overrides:
reportOperationOrder in class AbstractOperationMixRunner
Returns:
True if operation order should be default


Copyright © 2014. All Rights Reserved.