@LoadLevel(name="redis") public class RedisLockManager extends AbstractLockManager implements io.seata.common.executor.Initialize
LOGGER| 构造器和说明 |
|---|
RedisLockManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
Locker |
getLocker(BranchSession branchSession)
Gets locker.
|
void |
init() |
boolean |
releaseGlobalSessionLock(GlobalSession globalSession)
Un lock boolean.
|
boolean |
releaseLock(BranchSession branchSession)
Un lock boolean.
|
acquireLock, acquireLock, cleanAllLocks, collectRowLocks, collectRowLocks, collectRowLocks, getLocker, isLockable, updateLockStatuspublic void init()
init 在接口中 io.seata.common.executor.Initializepublic Locker getLocker(BranchSession branchSession)
AbstractLockManagergetLocker 在类中 AbstractLockManagerbranchSession - the branch sessionpublic boolean releaseLock(BranchSession branchSession) throws TransactionException
LockManagerreleaseLock 在接口中 LockManagerreleaseLock 在类中 AbstractLockManagerbranchSession - the branch sessionTransactionException - the transaction exceptionpublic boolean releaseGlobalSessionLock(GlobalSession globalSession) throws TransactionException
LockManagerreleaseGlobalSessionLock 在接口中 LockManagerglobalSession - the global sessionTransactionException - the transaction exceptionCopyright © 2022 Seata. All rights reserved.