public class InMemoryStateRepository extends Object implements FlowStateRepository
| Constructor and Description |
|---|
InMemoryStateRepository() |
| Modifier and Type | Method and Description |
|---|---|
int |
getState(StatefulFlowContext context,
String chainId,
String nodeId)
获取状态
|
List<FlowStateRecord> |
getStateRecords(StatefulFlowContext context)
获取状态记录
|
void |
postState(StatefulFlowContext context,
String chainId,
String nodeId,
int nodeState,
FlowEngine flowEngine)
提交状态
|
public int getState(StatefulFlowContext context, String chainId, String nodeId)
FlowStateRepositorygetState in interface FlowStateRepositorypublic List<FlowStateRecord> getStateRecords(StatefulFlowContext context)
FlowStateRepositorygetStateRecords in interface FlowStateRepositorypublic void postState(StatefulFlowContext context, String chainId, String nodeId, int nodeState, FlowEngine flowEngine)
FlowStateRepositorypostState in interface FlowStateRepositoryCopyright © 2025. All rights reserved.