public interface WrappingExecutor
extends java.util.concurrent.Executor
| Modifier and Type | Method and Description |
|---|---|
void |
execute(DirectExecutor directExecutor,
java.lang.Runnable task)
Run the given task within the given wrapper.
|
void |
execute(java.lang.Runnable task)
Run the given task directly, without a wrapper.
|
void execute(java.lang.Runnable task)
throws java.util.concurrent.RejectedExecutionException
execute in interface java.util.concurrent.Executortask - the task to runjava.util.concurrent.RejectedExecutionException - if the execution was rejected for some reasonvoid execute(DirectExecutor directExecutor, java.lang.Runnable task) throws java.util.concurrent.RejectedExecutionException
directExecutor - the task wrappertask - the task to runjava.util.concurrent.RejectedExecutionException - if the execution was rejected for some reason