public class AsyncCancelAndRetryExecutor extends Object implements AsyncExecutor
cancelCurrentAndReexecute() is
called. In case of command failures or successful completions it is not
reexecuted.| Modifier and Type | Field and Description |
|---|---|
protected AsyncRunnable |
command |
| Constructor and Description |
|---|
AsyncCancelAndRetryExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelCurrentAndReexecute() |
void |
execute(AsyncRunnable cmd) |
protected AsyncRunnable command
public void execute(AsyncRunnable cmd)
execute in interface AsyncExecutorpublic void cancelCurrentAndReexecute()
Copyright © 2016. All rights reserved.