java.util.concurrent.ExecutorExecutorSizedThreadPool, ExecutorThreadPool, MonitoredQueuedThreadPool, QueuedThreadPool, ReservedThreadExecutor, TryExecutor.NoTryExecutorpublic interface TryExecutor
extends java.util.concurrent.Executor
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
TryExecutor.NoTryExecutor |
| Modifier and Type | Field | Description |
|---|---|---|
static TryExecutor |
NO_TRY |
| Modifier and Type | Method | Description |
|---|---|---|
static TryExecutor |
asTryExecutor(java.util.concurrent.Executor executor) |
|
default void |
execute(java.lang.Runnable task) |
|
boolean |
tryExecute(java.lang.Runnable task) |
Attempt to execute a task.
|
static final TryExecutor NO_TRY
boolean tryExecute(java.lang.Runnable task)
task - The task to be executeddefault void execute(java.lang.Runnable task)
execute in interface java.util.concurrent.Executorstatic TryExecutor asTryExecutor(java.util.concurrent.Executor executor)
Copyright © 1995–2018 Webtide. All rights reserved.