public interface TaskExecutor
extends java.util.concurrent.Executor
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 在接口中 java.util.concurrent.Executortask - the Runnable to execute (never null)TaskRejectedException - if the given task was not accepted