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.
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)
initialValue
protected T initialValue()
Copyright © 2016. All rights reserved.