public interface TaskScheduler
Tasks.
 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  BasicExecutionManagerto 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.