public class WorkflowExecutionLocal<T> extends Object
ThreadLocal
which bounds value to a particular thread. It
is subject to the same replay rules as the rest of the workflow definition.Modifier and Type | Class and Description |
---|---|
static class |
WorkflowExecutionLocal.Wrapper<T> |
Constructor and Description |
---|
WorkflowExecutionLocal() |
Modifier and Type | Method and Description |
---|---|
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() |
protected T |
initialValue() |
void |
remove() |
static void |
restoreFromSavedValues(Map<String,WorkflowExecutionLocal.Wrapper> savedValues) |
static Map<String,WorkflowExecutionLocal.Wrapper> |
saveCurrentValues() |
void |
set(T v) |
public static void before()
public static void after()
public static Map<String,WorkflowExecutionLocal.Wrapper> saveCurrentValues()
public static void restoreFromSavedValues(Map<String,WorkflowExecutionLocal.Wrapper> savedValues)
public T get()
public void remove()
public void set(T v)
protected T initialValue()
Copyright © 2025. All rights reserved.