| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final TryExecutor |
| Modifier and Type | Method and Description |
|---|---|
| public static TryExecutor | |
| public default void | execute(Runnable
the runnable task task)Implements java. |
| public boolean | Returns: True IFF the task has been given directly to a thread to execute. The task cannot be queued pending the later availability of a Thread.The task to be executed task)Attempt to execute a task. |
| NO_TRY | back to summary |
|---|---|
| public static final TryExecutor NO_TRY | |
| asTryExecutor | back to summary |
|---|---|
| public static TryExecutor asTryExecutor(Executor executor) | |
| execute | back to summary |
|---|---|
| public default void execute(Runnable task) 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 | |
| tryExecute | back to summary |
|---|---|
| public boolean tryExecute(Runnable task) Attempt to execute a task.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | execute(Runnable
the runnable task task)Overrides default org. |
| public String | |
| public boolean | tryExecute(Runnable
The task to be executed task)Implements org. |
| executor | back to summary |
|---|---|
| private final Executor executor | |
| NoTryExecutor | back to summary |
|---|---|
| public NoTryExecutor(Executor executor) | |
| execute | back to summary |
|---|---|
| public void execute(Runnable task) Overrides default org. 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 | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| tryExecute | back to summary |
|---|---|
| public boolean tryExecute(Runnable task) Implements org. Doc from org. Attempt to execute a task. | |