| 限定符和类型 | 方法和说明 |
|---|---|
StateMachineInstance |
StateMachineEngine.compensate(String stateMachineInstId,
Map<String,Object> replaceParams)
compensate a state machine instance
|
StateMachineInstance |
StateMachineEngine.compensateAsync(String stateMachineInstId,
Map<String,Object> replaceParams,
AsyncCallback callback)
compensate a state machine instance asynchronously
|
StateMachineInstance |
StateMachineEngine.skipAndForward(String stateMachineInstId,
Map<String,Object> replaceParams)
skip current failed state instance and forward restart state machine instance
|
StateMachineInstance |
StateMachineEngine.skipAndForwardAsync(String stateMachineInstId,
AsyncCallback callback)
skip current failed state instance and forward restart state machine instance asynchronously
|
StateMachineInstance |
StateMachineEngine.start(String stateMachineName,
String tenantId,
Map<String,Object> startParams)
start a state machine instance
|
StateMachineInstance |
StateMachineEngine.startAsync(String stateMachineName,
String tenantId,
Map<String,Object> startParams,
AsyncCallback callback)
start a state machine instance asynchronously
|
StateMachineInstance |
StateMachineEngine.startWithBusinessKey(String stateMachineName,
String tenantId,
String businessKey,
Map<String,Object> startParams)
start a state machine instance with businessKey
|
StateMachineInstance |
StateMachineEngine.startWithBusinessKeyAsync(String stateMachineName,
String tenantId,
String businessKey,
Map<String,Object> startParams,
AsyncCallback callback)
start a state machine instance asynchronously with businessKey
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ForwardInvalidException
Forward operation invalid exception
|
| 限定符和类型 | 方法和说明 |
|---|---|
StateMachineInstance |
ProcessCtrlStateMachineEngine.compensate(String stateMachineInstId,
Map<String,Object> replaceParams) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.compensateAsync(String stateMachineInstId,
Map<String,Object> replaceParams,
AsyncCallback callback) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.compensateInternal(String stateMachineInstId,
Map<String,Object> replaceParams,
boolean async,
AsyncCallback callback) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.forward(String stateMachineInstId,
Map<String,Object> replaceParams) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.forwardAsync(String stateMachineInstId,
Map<String,Object> replaceParams,
AsyncCallback callback) |
protected StateMachineInstance |
ProcessCtrlStateMachineEngine.forwardInternal(String stateMachineInstId,
Map<String,Object> replaceParams,
boolean skip,
boolean async,
AsyncCallback callback) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.skipAndForward(String stateMachineInstId,
Map<String,Object> replaceParams) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.skipAndForwardAsync(String stateMachineInstId,
AsyncCallback callback) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.start(String stateMachineName,
String tenantId,
Map<String,Object> startParams) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.startAsync(String stateMachineName,
String tenantId,
Map<String,Object> startParams,
AsyncCallback callback) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.startWithBusinessKey(String stateMachineName,
String tenantId,
String businessKey,
Map<String,Object> startParams) |
StateMachineInstance |
ProcessCtrlStateMachineEngine.startWithBusinessKeyAsync(String stateMachineName,
String tenantId,
String businessKey,
Map<String,Object> startParams,
AsyncCallback callback) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
StateHandlerInterceptor.postProcess(ProcessContext context,
Exception e) |
void |
StateRouterInterceptor.postRoute(ProcessContext context,
State state,
Instruction instruction,
Exception e)
post route
|
void |
StateHandlerInterceptor.preProcess(ProcessContext context) |
void |
StateRouterInterceptor.preRoute(ProcessContext context,
State state)
pre route
|
void |
StateHandler.process(ProcessContext context) |
Instruction |
StateRouter.route(ProcessContext context,
State state) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SucceedEndStateHandler.process(ProcessContext context) |
void |
SubStateMachineHandler.process(ProcessContext context) |
void |
ServiceTaskStateHandler.process(ProcessContext context) |
void |
ScriptTaskStateHandler.process(ProcessContext context) |
void |
FailEndStateHandler.process(ProcessContext context) |
void |
CompensationTriggerStateHandler.process(ProcessContext context) |
void |
ChoiceStateHandler.process(ProcessContext context) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ServiceTaskHandlerInterceptor.postProcess(ProcessContext context,
Exception exp) |
void |
ScriptTaskHandlerInterceptor.postProcess(ProcessContext context,
Exception exp) |
void |
InSagaBranchHandlerInterceptor.postProcess(ProcessContext context,
Exception exp) |
void |
EndStateRouterInterceptor.postRoute(ProcessContext context,
State state,
Instruction instruction,
Exception e) |
void |
ServiceTaskHandlerInterceptor.preProcess(ProcessContext context) |
void |
ScriptTaskHandlerInterceptor.preProcess(ProcessContext context) |
void |
InSagaBranchHandlerInterceptor.preProcess(ProcessContext context) |
void |
EndStateRouterInterceptor.preRoute(ProcessContext context,
State state) |
| 限定符和类型 | 方法和说明 |
|---|---|
Instruction |
TaskStateRouter.route(ProcessContext context,
State state) |
Instruction |
EndStateRouter.route(ProcessContext context,
State state) |
| 限定符和类型 | 方法和说明 |
|---|---|
static EngineExecutionException |
ExceptionUtils.createEngineExecutionException(Exception e,
FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
StateInstance stateInstance) |
static EngineExecutionException |
ExceptionUtils.createEngineExecutionException(Exception e,
FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
String stateName) |
static EngineExecutionException |
ExceptionUtils.createEngineExecutionException(FrameworkErrorCode code,
String message,
StateMachineInstance stateMachineInstance,
StateInstance stateInstance) |
Copyright © 2020 Seata. All rights reserved.