@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Inherited public @interface GlobalTransactional
| 限定符和类型 | 可选元素和说明 |
|---|---|
int |
lockRetryInterval
customized global lock retry interval(unit: ms)
you may use this to override global config of "client.rm.lock.retryInterval"
note: 0 or negative number will take no effect(which mean fall back to global config)
|
int |
lockRetryTimes
customized global lock retry times
you may use this to override global config of "client.rm.lock.retryTimes"
note: negative number will take no effect(which mean fall back to global config)
|
io.seata.common.LockStrategyMode |
lockStrategyMode
pick the Acquire lock policy
|
String |
name
Given name of the global transaction instance.
|
Class<? extends Throwable>[] |
noRollbackFor
not roll back for the Class
|
String[] |
noRollbackForClassName
not roll back for the class name
|
io.seata.tm.api.transaction.Propagation |
propagation
the propagation of the global transaction
|
Class<? extends Throwable>[] |
rollbackFor
roll back for the Class
|
String[] |
rollbackForClassName
roll back for the class name
|
int |
timeoutMills
Global transaction timeoutMills in MILLISECONDS.
|
public abstract int timeoutMills
public abstract String name
public abstract String[] rollbackForClassName
public abstract String[] noRollbackForClassName
public abstract io.seata.tm.api.transaction.Propagation propagation
public abstract int lockRetryInterval
Copyright © 2023. All rights reserved.