public static class TryExecutor.NoTryExecutor extends Object implements TryExecutor
TryExecutor.NoTryExecutorNO_TRY| Constructor and Description |
|---|
NoTryExecutor(Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable task) |
String |
toString() |
boolean |
tryExecute(Runnable task)
Attempt to execute a task.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasTryExecutorpublic NoTryExecutor(Executor executor)
public void execute(Runnable task)
execute in interface Executorexecute in interface TryExecutorpublic boolean tryExecute(Runnable task)
TryExecutortryExecute in interface TryExecutortask - The task to be executedCopyright © 1995–2018 Webtide. All rights reserved.