public interface TaskState extends State
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
TaskState.ExceptionMatch
exception match
|
static interface |
TaskState.Loop
loop strategy
|
static interface |
TaskState.Retry
retry strategy
|
static interface |
TaskState.StatusMatch
status match
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<TaskState.ExceptionMatch> |
getCatches()
exception handling strategy
|
String |
getCompensateState()
get compensate state
|
TaskState.Loop |
getLoop()
loop strategy
|
List<TaskState.Retry> |
getRetry()
retry strategy
|
Map<String,String> |
getStatus()
Execution state determination rule
|
boolean |
isForCompensation()
Is this state is used to compensate an other state, default false
|
boolean |
isForUpdate()
Is this state will update data?
|
getComment, getExtensions, getName, getNext, getStateMachine, getTypeString getCompensateState()
boolean isForCompensation()
boolean isForUpdate()
List<TaskState.Retry> getRetry()
List<TaskState.ExceptionMatch> getCatches()
TaskState.Loop getLoop()
Copyright © 2022 Seata. All rights reserved.