|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sparql.benchmarking.operations.AbstractOperationCallable<T>
T - Options typepublic abstract class AbstractOperationCallable<T extends Options>
Abstract implementation of an operation callable
| Constructor Summary | |
|---|---|
AbstractOperationCallable(Runner<T> runner,
T options)
Creates a new operation callable |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancels the runner |
protected T |
getOptions()
Gets the options |
protected Runner<T> |
getRunner()
Gets the runner |
protected boolean |
isCancelled()
Gets whether the callable has been asked to cancel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.concurrent.Callable |
|---|
call |
| Constructor Detail |
|---|
public AbstractOperationCallable(Runner<T> runner,
T options)
runner - Runneroptions - Options| Method Detail |
|---|
protected final Runner<T> getRunner()
protected final T getOptions()
protected final boolean isCancelled()
public final void cancel()
OperationCallable
cancel in interface OperationCallable<T extends Options>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||