com.amazonaws.services.simpleworkflow.flow.core
Class ExternalTask
java.lang.Object
com.amazonaws.services.simpleworkflow.flow.core.ExternalTask
public abstract class ExternalTask
- extends java.lang.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.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.lang.String getName()
setName
public void setName(java.lang.String name)
getStackTrace
public java.lang.StackTraceElement[] getStackTrace()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.