com.amazonaws.services.simpleworkflow.flow.core
Class ExternalTask
java.lang.Object
com.amazonaws.services.simpleworkflow.flow.core.ExternalTask
public abstract class ExternalTask
- extends Object
Used to bridge asynchronous execution to external asynchronous APIs or
events. ExternalTask#doExecute(handle) method is expected to initiate
call to an external API and return without blocking. Then completion or
failure of the external task is reported through
ExternalTaskCompletionHandle. A cancellation handler returned by the
doExecute is used to report cancellation of the external task.
ExternalTask
public ExternalTask(Promise<?>... waitFor)
ExternalTask
public ExternalTask(boolean daemon,
Promise<?>... waitFor)
ExternalTask
public ExternalTask(com.amazonaws.services.simpleworkflow.flow.core.AsyncContextAware parent,
Promise<?>... waitFor)
ExternalTask
public ExternalTask(com.amazonaws.services.simpleworkflow.flow.core.AsyncContextAware parent,
boolean daemon,
Promise<?>... waitFor)
getName
public String getName()
setName
public void setName(String name)
getStackTrace
public StackTraceElement[] getStackTrace()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.