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

java.lang.Object
  extended by net.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
      extended by 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

Constructor Summary
SleepCallable(long sleep, Runner<T> runner, T options)
          Creates a new sleep 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

SleepCallable

public SleepCallable(long sleep,
                     Runner<T> runner,
                     T options)
Creates a new sleep callable

Parameters:
sleep - Sleep
runner - Runner
options - Options
Method Detail

call

public OperationRun call()
                  throws Exception
Throws:
Exception


Copyright © 2014. All Rights Reserved.