com.amazonaws.services.simpleworkflow.flow.core
Interface ExternalTaskCompletionHandle
public interface ExternalTaskCompletionHandle
Used to complete or fail an external task initiated through
ExternalTask.doExecute(ExternalTaskCompletionHandle).
Flow framework is not thread safe and expects that all asynchronous code is
executed in a single thread. Currently ExternalTaskCompletionHandle is the
only exception as it allows complete() and fail(Throwable)
be called from other threads.
|
Method Summary |
void |
complete()
|
void |
fail(java.lang.Throwable e)
|
complete
void complete()
fail
void fail(java.lang.Throwable e)
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.