@Component public class TMReporter extends Object
| 构造器和说明 |
|---|
TMReporter(ReliableMessenger reliableMessenger) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
reportTccCleanException(String groupId,
String unitId,
int state)
Manager 记录TCC清理事务失败
|
void |
reportTransactionState(String groupId,
String unitId,
Short registrar,
int state)
Manager 记录事务状态
|
void |
reportTxcUndoException(String groupId,
String unitId,
List<StatementInfo> statementInfoList) |
@Autowired public TMReporter(ReliableMessenger reliableMessenger)
public void reportTransactionState(String groupId, String unitId, Short registrar, int state)
groupId - groupIdunitId - unitIdregistrar - registrarstate - transactionStatepublic void reportTccCleanException(String groupId, String unitId, int state)
groupId - groupIdunitId - unitIdstate - statepublic void reportTxcUndoException(String groupId, String unitId, List<StatementInfo> statementInfoList)
Copyright © 2019. All rights reserved.