public interface StateLogStore
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearUp()
clear the LocalThread
|
StateInstance |
getStateInstance(String stateInstanceId,
String machineInstId)
Get state instance
|
StateMachineInstance |
getStateMachineInstance(String stateMachineInstanceId)
Get state machine instance
|
StateMachineInstance |
getStateMachineInstanceByBusinessKey(String businessKey,
String tenantId)
Get state machine instance by businessKey
|
List<StateInstance> |
queryStateInstanceListByMachineInstanceId(String stateMachineInstanceId)
Get a list of state instances by state machine instance id
|
List<StateMachineInstance> |
queryStateMachineInstanceByParentId(String parentId)
Query the list of state machine instances by parent id
|
void |
recordStateFinished(StateInstance stateInstance,
ProcessContext context)
Record state execution end event
|
void |
recordStateMachineFinished(StateMachineInstance machineInstance,
ProcessContext context)
Record status end event
|
void |
recordStateMachineRestarted(StateMachineInstance machineInstance,
ProcessContext context)
Record state machine restarted
|
void |
recordStateMachineStarted(StateMachineInstance machineInstance,
ProcessContext context)
Record state machine startup events
|
void |
recordStateStarted(StateInstance stateInstance,
ProcessContext context)
Record state start execution event
|
void recordStateMachineStarted(StateMachineInstance machineInstance, ProcessContext context)
machineInstance - void recordStateMachineFinished(StateMachineInstance machineInstance, ProcessContext context)
machineInstance - void recordStateMachineRestarted(StateMachineInstance machineInstance, ProcessContext context)
machineInstance - void recordStateStarted(StateInstance stateInstance, ProcessContext context)
stateInstance - void recordStateFinished(StateInstance stateInstance, ProcessContext context)
stateInstance - StateMachineInstance getStateMachineInstance(String stateMachineInstanceId)
stateMachineInstanceId - StateMachineInstance getStateMachineInstanceByBusinessKey(String businessKey, String tenantId)
businessKey - tenantId - List<StateMachineInstance> queryStateMachineInstanceByParentId(String parentId)
parentId - StateInstance getStateInstance(String stateInstanceId, String machineInstId)
stateInstanceId - machineInstId - List<StateInstance> queryStateInstanceListByMachineInstanceId(String stateMachineInstanceId)
stateMachineInstanceId - void clearUp()
Copyright © 2022 Seata. All rights reserved.