public abstract class AbstractLocker extends Object implements Locker
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
LOCK_SPLIT
The constant LOCK_SPLIT.
|
protected static org.slf4j.Logger |
LOGGER
The constant LOGGER.
|
| 构造器和说明 |
|---|
AbstractLocker() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cleanAllLocks()
Clean all locks boolean.
|
protected List<LockDO> |
convertToLockDO(List<RowLock> locks)
Convert to lock do list.
|
protected String |
getRowKey(String resourceId,
String tableName,
String pk)
Get row key string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireLock, isLockable, releaseLockprotected List<LockDO> convertToLockDO(List<RowLock> locks)
locks - the locksprotected String getRowKey(String resourceId, String tableName, String pk)
resourceId - the resource idtableName - the table namepk - the pkpublic void cleanAllLocks()
LockercleanAllLocks 在接口中 LockerCopyright © 2019 Seata. All rights reserved.