public interface ParallelExecutor<T> extends Runnable
ControlledWorkerScheduler
. The common use case is to pass results from the scheduler to
the controlling result iteration.JoinExecutorBase
,
UnionExecutorBase
Modifier and Type | Method and Description |
---|---|
void |
addResult(CloseableIteration<T,QueryEvaluationException> res)
Handle the result appropriately, e.g.
|
void |
done()
Inform the controlling instance that some job is done from a different thread.
|
QueryInfo |
getQueryInfo()
Return the query info of the associated query
|
boolean |
isFinished()
Return true if this executor is finished or aborted
|
void |
toss(Exception e)
Toss some exception to the controlling instance
|
void addResult(CloseableIteration<T,QueryEvaluationException> res)
res
- void toss(Exception e)
e
- void done()
boolean isFinished()
QueryInfo getQueryInfo()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.