Class ParallelTaskBase<T>
java.lang.Object
org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase<T>
- All Implemented Interfaces:
ParallelTask<T>
- Direct Known Subclasses:
ParallelBoundJoinTask
,ParallelCheckJoinTask
,ParallelGetStatementsTask
,ParallelJoinTask
,ParallelLeftJoinTask
,ParallelPreparedAlgebraUnionTask
,ParallelPreparedUnionTask
,ParallelServiceJoinTask
,ParallelUnionOperatorTask
,ParallelUnionTask
,SourceSelection.ParallelCheckTask
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Optional implementation to cancel this task on a best effort basisvoid
close()
Optional implementation to close this task on a best effort basis.protected abstract CloseableIteration<T,
QueryEvaluationException> void
setScheduledFuture
(Future<?> future) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTask
getControl, getQueryInfo
-
Field Details
-
scheduledFuture
-
-
Constructor Details
-
ParallelTaskBase
public ParallelTaskBase()
-
-
Method Details
-
cancel
public void cancel()Description copied from interface:ParallelTask
Optional implementation to cancel this task on a best effort basis- Specified by:
cancel
in interfaceParallelTask<T>
-
performTask
- Specified by:
performTask
in interfaceParallelTask<T>
- Throws:
Exception
-
performTaskInternal
protected abstract CloseableIteration<T,QueryEvaluationException> performTaskInternal() throws Exception- Throws:
Exception
-
setScheduledFuture
-
toString
-
close
public void close()Description copied from interface:ParallelTask
Optional implementation to close this task on a best effort basis.- Specified by:
close
in interfaceParallelTask<T>
-