com.amazonaws.services.simpleworkflow.flow
Class WorkflowExecutionLocal<T>
java.lang.Object
com.amazonaws.services.simpleworkflow.flow.WorkflowExecutionLocal<T>
public class WorkflowExecutionLocal<T>
- extends Object
Contains value that is bound to a currently executing workflow. Has the same
purpose as ThreadLocal
which bounds value to a particular thread. It
is subject to the same replay rules as the rest of the workflow definition.
Method Summary |
static void |
after()
Must be called at the end of each decision. |
static void |
before()
Must be called before each decision. |
T |
get()
|
int |
hashCode()
|
void |
remove()
|
void |
set(T v)
|
WorkflowExecutionLocal
public WorkflowExecutionLocal()
before
public static void before()
- Must be called before each decision. It is not a good idea to call this
method from non framework code for non testing scenarios.
after
public static void after()
- Must be called at the end of each decision. It is not a good idea to call
this method from non framework code for non testing scenarios.
get
public T get()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
remove
public void remove()
set
public void set(T v)
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.