public class InMemoryStateRepository extends Object implements StateRepository
| Constructor and Description |
|---|
InMemoryStateRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearState(FlowContext context)
清空
|
StateType |
getState(FlowContext context,
Node node)
获取状态
|
Map<String,Integer> |
getStates(String instanceId) |
void |
putState(FlowContext context,
Node node,
StateType state)
推入状态
|
void |
removeState(FlowContext context,
Node node)
移除状态
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonPostActivityStatepublic StateType getState(FlowContext context, Node node)
StateRepositorygetState in interface StateRepositorypublic void putState(FlowContext context, Node node, StateType state)
StateRepositoryputState in interface StateRepositorypublic void removeState(FlowContext context, Node node)
StateRepositoryremoveState in interface StateRepositorypublic void clearState(FlowContext context)
StateRepositoryclearState in interface StateRepositoryCopyright © 2025. All rights reserved.