public class BaseDistributedLockSql extends Object implements DistributedLockSql
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
ALL_COLUMNS |
protected static String |
DISTRIBUTED_LOCK_TABLE_PLACE_HOLD |
protected static String |
INSERT_DISTRIBUTED_LOCK_SQL |
protected static String |
SELECT_FOR_UPDATE_SQL |
protected static String |
UPDATE_DISTRIBUTED_LOCK_SQL |
| 构造器和说明 |
|---|
BaseDistributedLockSql() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getInsertSql(String distributedLockTable)
Get insert distribute lock sql
|
String |
getSelectDistributeForUpdateSql(String distributedLockTable)
Get the select distribute lock sql
|
String |
getUpdateSql(String distributedLockTable)
Get update distribute lock sql
|
protected static final String DISTRIBUTED_LOCK_TABLE_PLACE_HOLD
public String getSelectDistributeForUpdateSql(String distributedLockTable)
DistributedLockSqlgetSelectDistributeForUpdateSql 在接口中 DistributedLockSqldistributedLockTable - the table name of the distribute lock tablepublic String getInsertSql(String distributedLockTable)
DistributedLockSqlgetInsertSql 在接口中 DistributedLockSqldistributedLockTable - the table name of the distribute lock tablepublic String getUpdateSql(String distributedLockTable)
DistributedLockSqlgetUpdateSql 在接口中 DistributedLockSqldistributedLockTable - the table name of the distribute lock tableCopyright © 2022 Seata. All rights reserved.