com.amazonaws.services.simpleworkflow.flow.interceptors
Class AsyncCancelAndRetryExecutor
java.lang.Object
com.amazonaws.services.simpleworkflow.flow.interceptors.AsyncCancelAndRetryExecutor
- All Implemented Interfaces:
- AsyncExecutor
public class AsyncCancelAndRetryExecutor
- extends Object
- implements AsyncExecutor
Cancels and reexecutes a command when cancelCurrentAndReexecute()
is
called. In case of command failures or successful completions it is not
reexecuted.
AsyncCancelAndRetryExecutor
public AsyncCancelAndRetryExecutor()
execute
public void execute(AsyncRunnable cmd)
- Specified by:
execute
in interface AsyncExecutor
cancelCurrentAndReexecute
public void cancelCurrentAndReexecute()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.