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() |
protected AsyncRunnable command
public void execute(AsyncRunnable cmd)
execute
in interface AsyncExecutor
public void cancelCurrentAndReexecute()
Copyright © 2014. All rights reserved.