public interface StateLogStore
| Modifier and Type | Method and Description |
|---|---|
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 - the state machine instancecontext - the state machine process contextvoid recordStateMachineFinished(StateMachineInstance machineInstance, ProcessContext context)
machineInstance - the state machine instancecontext - the state machine process contextvoid recordStateMachineRestarted(StateMachineInstance machineInstance, ProcessContext context)
machineInstance - the state machine instancecontext - the state machine process contextvoid recordStateStarted(StateInstance stateInstance, ProcessContext context)
stateInstance - the state machine instancecontext - the state machine process contextvoid recordStateFinished(StateInstance stateInstance, ProcessContext context)
stateInstance - the state machine instancecontext - the state machine process contextStateMachineInstance getStateMachineInstance(String stateMachineInstanceId)
stateMachineInstanceId - the state machine instance idStateMachineInstance getStateMachineInstanceByBusinessKey(String businessKey, String tenantId)
businessKey - the businessKeytenantId - the tenant idList<StateMachineInstance> queryStateMachineInstanceByParentId(String parentId)
parentId - the state machine parent's idStateInstance getStateInstance(String stateInstanceId, String machineInstId)
stateInstanceId - the state instance idmachineInstId - the machine instance idList<StateInstance> queryStateInstanceListByMachineInstanceId(String stateMachineInstanceId)
stateMachineInstanceId - the state machine instance idvoid clearUp()
Copyright © 2023 Seata. All rights reserved.