Did this page help you?

   Yes   No   Tell us about it...

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

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.flow.interceptors.AsyncScheduledExecutor
All Implemented Interfaces:
AsyncExecutor

public class AsyncScheduledExecutor
extends Object
implements AsyncExecutor

AsyncExecutor implementation that executes command according to provided schedule. Command is expected to contain only non blocking asynchronous code.


Constructor Summary
AsyncScheduledExecutor(InvocationSchedule schedule, WorkflowClock clock)
           
 
Method Summary
 void execute(AsyncRunnable command)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncScheduledExecutor

public AsyncScheduledExecutor(InvocationSchedule schedule,
                              WorkflowClock clock)
Method Detail

execute

public void execute(AsyncRunnable command)
Specified by:
execute in interface AsyncExecutor


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.