net.sf.sparql.benchmarking.operations.util
Class SleepCallable<T extends Options>
java.lang.Object
net.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
net.sf.sparql.benchmarking.operations.util.SleepCallable<T>
- Type Parameters:
T
- Options type
- All Implemented Interfaces:
- Callable<OperationRun>, OperationCallable<T>
public class SleepCallable<T extends Options>
- extends AbstractOperationCallable<T>
A callable for sleeping
- Author:
- rvesse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SleepCallable
public SleepCallable(long sleep,
Runner<T> runner,
T options)
- Creates a new sleep callable
- Parameters:
sleep
- Sleeprunner
- Runneroptions
- Options
call
public OperationRun call()
throws Exception
- Throws:
Exception
Copyright © 2014. All Rights Reserved.