public interface ReactiveExecutor
Modifier and Type | Method and Description |
---|---|
boolean |
executeFromQueue()
Executes the next task (if supported by the reactive executor implementation)
|
void |
schedule(Runnable runnable)
Schedules the task to be run
|
void |
scheduleMain(Runnable runnable)
Schedules the task to be prioritized and run asap
|
void |
scheduleSync(Runnable runnable)
Schedules the task to run synchronously
|
void schedule(Runnable runnable)
runnable
- the taskvoid scheduleMain(Runnable runnable)
runnable
- the taskvoid scheduleSync(Runnable runnable)
runnable
- the taskboolean executeFromQueue()
Apache Camel