public interface LogStore
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteBranchTransactionDO(BranchTransactionDO branchTransactionDO)
Delete branch transaction do boolean.
|
boolean |
deleteGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
Delete global transaction do boolean.
|
long |
getCurrentMaxSessionId(long high,
long low)
Gets current max session id.
|
boolean |
insertBranchTransactionDO(BranchTransactionDO branchTransactionDO)
Insert branch transaction do boolean.
|
boolean |
insertGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
Insert global transaction do boolean.
|
List<BranchTransactionDO> |
queryBranchTransactionDO(List<String> xids)
Query branch transaction do list.
|
List<BranchTransactionDO> |
queryBranchTransactionDO(String xid)
Query branch transaction do list.
|
List<GlobalTransactionDO> |
queryGlobalTransactionDO(int[] status,
int limit)
Query global transaction do list.
|
GlobalTransactionDO |
queryGlobalTransactionDO(long transactionId)
Query global transaction do global transaction do.
|
GlobalTransactionDO |
queryGlobalTransactionDO(String xid)
Query global transaction do global transaction do.
|
boolean |
updateBranchTransactionDO(BranchTransactionDO branchTransactionDO)
Update branch transaction do boolean.
|
boolean |
updateGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
Update global transaction do boolean.
|
boolean |
updateGlobalTransactionDO(GlobalTransactionDO globalTransactionDO,
Integer expectedStatus)
Update global transaction do boolean.
|
GlobalTransactionDO queryGlobalTransactionDO(String xid)
xid - the xidGlobalTransactionDO queryGlobalTransactionDO(long transactionId)
transactionId - the transaction idList<GlobalTransactionDO> queryGlobalTransactionDO(int[] status, int limit)
status - the statuslimit - the limitboolean insertGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
globalTransactionDO - the global transaction doboolean updateGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
globalTransactionDO - the global transaction doboolean updateGlobalTransactionDO(GlobalTransactionDO globalTransactionDO, Integer expectedStatus)
globalTransactionDO - the global transaction doexpectedStatus - the expected Statusboolean deleteGlobalTransactionDO(GlobalTransactionDO globalTransactionDO)
globalTransactionDO - the global transaction doList<BranchTransactionDO> queryBranchTransactionDO(String xid)
xid - the xidList<BranchTransactionDO> queryBranchTransactionDO(List<String> xids)
xids - the xid listboolean insertBranchTransactionDO(BranchTransactionDO branchTransactionDO)
branchTransactionDO - the branch transaction doboolean updateBranchTransactionDO(BranchTransactionDO branchTransactionDO)
branchTransactionDO - the branch transaction doboolean deleteBranchTransactionDO(BranchTransactionDO branchTransactionDO)
branchTransactionDO - the branch transaction dolong getCurrentMaxSessionId(long high,
long low)
high - the highlow - the lowCopyright © 2023 Seata. All rights reserved.