public interface ResourceManagerOutbound
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
branchRegister(BranchType branchType,
String resourceId,
String clientId,
String xid,
String lockKeys)
Branch register long.
|
void |
branchReport(String xid,
long branchId,
BranchStatus status,
String applicationData)
Branch report.
|
boolean |
lockQuery(BranchType branchType,
String resourceId,
String xid,
String lockKeys)
Lock query boolean.
|
Long branchRegister(BranchType branchType, String resourceId, String clientId, String xid, String lockKeys) throws TransactionException
branchType - the branch typeresourceId - the resource idclientId - the client idxid - the xidlockKeys - the lock keysTransactionException - the transaction exceptionvoid branchReport(String xid, long branchId, BranchStatus status, String applicationData) throws TransactionException
xid - the xidbranchId - the branch idstatus - the statusapplicationData - the application dataTransactionException - the transaction exceptionboolean lockQuery(BranchType branchType, String resourceId, String xid, String lockKeys) throws TransactionException
branchType - the branch typeresourceId - the resource idxid - the xidlockKeys - the lock keysTransactionException - the transaction exceptionCopyright © 2019 Alibaba Group. All rights reserved.