public interface RunnableExecutor
| Modifier and Type | Interface and Description |
|---|---|
static class |
RunnableExecutor.CurrentThreadExecutor |
| Modifier and Type | Field and Description |
|---|---|
static RunnableExecutor |
currentThreadExecutor
This
RunnableExecutor implementation simply invokes Runnable.run()
on the current thread. |
static final RunnableExecutor currentThreadExecutor
RunnableExecutor implementation simply invokes Runnable.run()
on the current thread.void invoke(boolean wait,
Runnable r)
wait - if true method waits until Runnable.run() is completed, otherwise don't wait.r - the Runnable to be executed.