net.sf.sparql.benchmarking.operations.util
Class NoOpCallable<T extends Options>

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
      extended by net.sf.sparql.benchmarking.operations.util.NoOpCallable<T>
Type Parameters:
T - Options type
All Implemented Interfaces:
Callable<OperationRun>, OperationCallable<T>

public class NoOpCallable<T extends Options>
extends AbstractOperationCallable<T>

A callable that does nothing

May be used by operations that don't perform an operation during every mix run.

Author:
rvesse

Constructor Summary
NoOpCallable(Runner<T> runner, T options, OperationRun runInfo)
          Creates a new callable
 
Method Summary
 OperationRun call()
           
 
Methods inherited from class net.sf.sparql.benchmarking.operations.AbstractOperationCallable
cancel, getOptions, getRunner, isCancelled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpCallable

public NoOpCallable(Runner<T> runner,
                    T options,
                    OperationRun runInfo)
Creates a new callable

Parameters:
runner - Runner
options - Options
runInfo - Run information to return
Method Detail

call

public OperationRun call()
                  throws Exception
Throws:
Exception


Copyright © 2014. All Rights Reserved.