public interface TaskScheduler
Task
s.
It can control how the tasks are scheduled for execution (e.g. single-threaded execution,
prioritised, etc).Modifier and Type | Method and Description |
---|---|
void |
injectExecutor(java.util.concurrent.ExecutorService executor) |
<T> java.util.concurrent.Future<T> |
submit(java.util.concurrent.Callable<T> c)
Called by
BasicExecutionManager to schedule tasks. |
void injectExecutor(java.util.concurrent.ExecutorService executor)
<T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T> c)
BasicExecutionManager
to schedule tasks.