public interface TaskExecutor
extends java.util.concurrent.Executor
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.Runnable task)
Execute the given
task. |
void execute(java.lang.Runnable task)
task.
The call might return immediately if the implementation uses an asynchronous execution strategy, or might block in the case of synchronous execution.
execute in interface java.util.concurrent.Executortask - the Runnable to execute (never null)TaskRejectedException - if the given task was not accepted