public interface TCCFenceStore
| Modifier and Type | Method and Description |
|---|---|
int |
deleteTCCFenceDO(Connection conn,
List<String> xids)
Delete tcc fence do boolean.
|
boolean |
deleteTCCFenceDO(Connection conn,
String xid,
Long branchId)
Delete tcc fence do boolean.
|
int |
deleteTCCFenceDOByDate(Connection conn,
Date datetime)
Delete tcc fence by datetime.
|
boolean |
insertTCCFenceDO(Connection conn,
TCCFenceDO tccFenceDO)
Insert tcc fence do boolean.
|
Set<String> |
queryEndStatusXidsByDate(Connection conn,
Date datetime,
int limit)
Query xid.
|
TCCFenceDO |
queryTCCFenceDO(Connection conn,
String xid,
Long branchId)
Query tcc fence do.
|
void |
setLogTableName(String logTableName)
Set LogTable Name
|
boolean |
updateTCCFenceDO(Connection conn,
String xid,
Long branchId,
int newStatus,
int oldStatus)
Update tcc fence do boolean.
|
TCCFenceDO queryTCCFenceDO(Connection conn, String xid, Long branchId)
conn - the connectionxid - the global transaction idbranchId - the branch transaction idSet<String> queryEndStatusXidsByDate(Connection conn, Date datetime, int limit)
conn - the connectiondatetime - the datetimelimit - the limit sizeboolean insertTCCFenceDO(Connection conn, TCCFenceDO tccFenceDO)
conn - the connectiontccFenceDO - the tcc fence doboolean updateTCCFenceDO(Connection conn, String xid, Long branchId, int newStatus, int oldStatus)
conn - the connectionxid - the global transaction idbranchId - the branch transaction idnewStatus - the new statusoldStatus - the old statusboolean deleteTCCFenceDO(Connection conn, String xid, Long branchId)
conn - the connectionxid - the global transaction idbranchId - the branch transaction idint deleteTCCFenceDO(Connection conn, List<String> xids)
conn - the connectionxids - the global transaction idsint deleteTCCFenceDOByDate(Connection conn, Date datetime)
conn - the connectiondatetime - datetimevoid setLogTableName(String logTableName)
logTableName - logTableNameCopyright © 2022 Seata. All rights reserved.