|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchCommandExecutor
An object that executes a list of Callable tasks.
| Method Summary | |
|---|---|
Map<Future<ResultList<ResultItem>>,SearchCommand> |
invokeAll(Collection<SearchCommand> callables)
Invoke all commands returning a list of Future
holding their results. |
void |
stop()
Stops this executor, cancelling all pending tasks. |
Map<Future<ResultList<ResultItem>>,SearchCommand> |
waitForAll(Map<Future<ResultList<ResultItem>>,SearchCommand> results,
int timeoutInMillis)
|
| Method Detail |
|---|
void stop()
Map<Future<ResultList<ResultItem>>,SearchCommand> invokeAll(Collection<SearchCommand> callables)
throws InterruptedException
Future
holding their results.
callables - The list of Callable to execute.
InterruptedException
Map<Future<ResultList<ResultItem>>,SearchCommand> waitForAll(Map<Future<ResultList<ResultItem>>,SearchCommand> results,
int timeoutInMillis)
throws InterruptedException,
TimeoutException,
ExecutionException
InterruptedException
TimeoutException
ExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||