com.amazonaws.services.simpleworkflow.flow.interceptors
Class AsyncScheduledExecutor
java.lang.Object
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.
AsyncScheduledExecutor
public AsyncScheduledExecutor(InvocationSchedule schedule,
WorkflowClock clock)
execute
public void execute(AsyncRunnable command)
- Specified by:
execute
in interface AsyncExecutor
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.