| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
branchTable
The Branch table.
|
protected static io.seata.config.Configuration |
CONFIG
The constant CONFIG.
|
protected String |
globalTable
The Global table.
|
protected DataSource |
logStoreDataSource
The Log store data source.
|
| 构造器和说明 |
|---|
LogStoreDataBaseDAO(DataSource logStoreDataSource)
Instantiates a new Log store data base dao.
|
protected static final io.seata.config.Configuration CONFIG
protected DataSource logStoreDataSource
protected String globalTable
protected String branchTable
public LogStoreDataBaseDAO(DataSource logStoreDataSource)
logStoreDataSource - the log store data sourcepublic GlobalTransactionDO queryGlobalTransactionDO(String xid)
queryGlobalTransactionDO 在接口中 LogStorepublic GlobalTransactionDO queryGlobalTransactionDO(long transactionId)
queryGlobalTransactionDO 在接口中 LogStorepublic List<GlobalTransactionDO> queryGlobalTransactionDO(int[] statuses, int limit)
queryGlobalTransactionDO 在接口中 LogStorepublic boolean insertGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
insertGlobalTransactionDO 在接口中 LogStorepublic boolean updateGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
updateGlobalTransactionDO 在接口中 LogStorepublic boolean deleteGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
deleteGlobalTransactionDO 在接口中 LogStorepublic List<BranchTransactionDO> queryBranchTransactionDO(String xid)
queryBranchTransactionDO 在接口中 LogStorepublic List<BranchTransactionDO> queryBranchTransactionDO(List<String> xids)
queryBranchTransactionDO 在接口中 LogStorepublic boolean insertBranchTransactionDO(BranchTransactionDO branchTransactionDO)
insertBranchTransactionDO 在接口中 LogStorepublic boolean updateBranchTransactionDO(BranchTransactionDO branchTransactionDO)
updateBranchTransactionDO 在接口中 LogStorepublic boolean deleteBranchTransactionDO(BranchTransactionDO branchTransactionDO)
deleteBranchTransactionDO 在接口中 LogStorepublic long getCurrentMaxSessionId(long high,
long low)
getCurrentMaxSessionId 在接口中 LogStorepublic void initTransactionNameSize()
public void setLogStoreDataSource(DataSource logStoreDataSource)
logStoreDataSource - the log store data sourcepublic void setGlobalTable(String globalTable)
globalTable - the global tablepublic void setBranchTable(String branchTable)
branchTable - the branch tablepublic void setDbType(String dbType)
dbType - the db typepublic int getTransactionNameColumnSize()
Copyright © 2022 Seata. All rights reserved.