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