@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Inherited public @interface GlobalLock
// the scanner for TM, GlobalLock, and TCC mode,
// the interceptor of GlobalLock,
// the interceptor of GlobalLockLogic and AT/XA mode| 限定符和类型 | 可选元素和说明 |
|---|---|
int |
lockRetryInternal
customized global lock retry internal(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)
|
Copyright © 2020 Seata. All rights reserved.