Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.flow.interceptors
Class AsyncCancelAndRetryExecutor

java.lang.Object
  extended by 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.


Constructor Summary
AsyncCancelAndRetryExecutor()
           
 
Method Summary
 void cancelCurrentAndReexecute()
           
 void execute(AsyncRunnable cmd)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncCancelAndRetryExecutor

public AsyncCancelAndRetryExecutor()
Method Detail

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.