public class InMemoryStateRepository extends Object implements StateRepository
| Constructor and Description |
|---|
InMemoryStateRepository() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Integer> |
getStates(String instanceId) |
void |
stateClear(FlowContext context)
状态清空
|
StateType |
stateGet(FlowContext context,
Node node)
状态获取
|
void |
statePut(FlowContext context,
Node node,
StateType state)
状态推入
|
void |
stateRemove(FlowContext context,
Node node)
状态移除
|
public StateType stateGet(FlowContext context, Node node)
StateRepositorystateGet in interface StateRepositorypublic void statePut(FlowContext context, Node node, StateType state)
StateRepositorystatePut in interface StateRepositorypublic void stateRemove(FlowContext context, Node node)
StateRepositorystateRemove in interface StateRepositorypublic void stateClear(FlowContext context)
StateRepositorystateClear in interface StateRepositoryCopyright © 2025. All rights reserved.