|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExecutorManager
An executor manager is an abstraction on top of async and scheduled execution of tasks.
| Method Summary | ||
|---|---|---|
|
invokeAllWithLimit(Collection<Callable<T>> tasks,
int concurrencyThreshold)
Similar to InternalExecutorManager.invokeAll(java.util.Collection), but only uses it if the number of tasks passes
the concurrent limit. |
|
|
invokeAllWithLimitBailOnException(Collection<Callable<T>> tasks,
int concurrencyThreshold)
Similar to invokeAllWithLimit(java.util.Collection, int), but if one task throws an exception
will propogate the exception. |
|
| Methods inherited from interface org.compass.core.executor.spi.InternalExecutorManager |
|---|
close, invokeAll, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, submit, submit |
| Method Detail |
|---|
<T> List<Future<T>> invokeAllWithLimit(Collection<Callable<T>> tasks,
int concurrencyThreshold)
InternalExecutorManager.invokeAll(java.util.Collection), but only uses it if the number of tasks passes
the concurrent limit.
<T> List<Future<T>> invokeAllWithLimitBailOnException(Collection<Callable<T>> tasks,
int concurrencyThreshold)
invokeAllWithLimit(java.util.Collection, int), but if one task throws an exception
will propogate the exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||