net.sf.sparql.benchmarking.runners.operations
Class DefaultOperationRunner

java.lang.Object
  extended by net.sf.sparql.benchmarking.runners.operations.DefaultOperationRunner
All Implemented Interfaces:
OperationRunner
Direct Known Subclasses:
RetryingOperationRunner

public class DefaultOperationRunner
extends Object
implements OperationRunner

Default implementation of an operation runner

Author:
rvesse

Constructor Summary
DefaultOperationRunner()
           
 
Method Summary
<T extends Options>
OperationRun
run(Runner<T> runner, T options, Operation op)
          Runs the operation returning the statistics as an OperationRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOperationRunner

public DefaultOperationRunner()
Method Detail

run

public <T extends Options> OperationRun run(Runner<T> runner,
                                            T options,
                                            Operation op)
Description copied from interface: OperationRunner
Runs the operation returning the statistics as an OperationRun

Implementations are also expected to record the information within their the OperationStats object of the provided Operation instance prior to returning the statistics.

Specified by:
run in interface OperationRunner
Parameters:
runner - Runner
options - Options
op - Operation to run
Returns:
Operation Run statistics


Copyright © 2014. All Rights Reserved.