Executor
which execute tasks in the callers thread.
Modifier and Type | Field and Description |
---|---|
public static final ImmediateExecutor |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
public void | execute(Runnable
the runnable task command)Implements java. |
INSTANCE | back to summary |
---|---|
public static final ImmediateExecutor INSTANCE |
ImmediateExecutor | back to summary |
---|---|
private ImmediateExecutor() |
execute | back to summary |
---|---|
public void execute(Runnable command) Implements java. Doc from java. Executes the given command at some time in the future. The command
may execute in a new thread, in a pooled thread, or in the calling
thread, at the discretion of the |