public interface TaskState extends State
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TaskState.ExceptionMatch
exception match
|
static interface |
TaskState.Loop
loop strategy
|
static interface |
TaskState.Retry
retry strategy
|
static interface |
TaskState.StatusMatch
status match
|
| Modifier and Type | Method and Description |
|---|---|
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()
Map<String,String> getStatus()
TaskState.Loop getLoop()
Copyright © 2023 Seata. All rights reserved.