public abstract class AbstractTCInboundHandler extends AbstractExceptionHandler implements TCInboundHandler
AbstractExceptionHandler.AbstractCallback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>, AbstractExceptionHandler.Callback<T extends AbstractTransactionRequest,S extends AbstractTransactionResponse>CONFIG| 构造器和说明 |
|---|
AbstractTCInboundHandler() |
exceptionHandleTemplatepublic GlobalBeginResponse handle(GlobalBeginRequest request, RpcContext rpcContext)
handle 在接口中 TCInboundHandlerprotected abstract void doGlobalBegin(GlobalBeginRequest request, GlobalBeginResponse response, RpcContext rpcContext) throws TransactionException
request - the requestresponse - the responserpcContext - the rpc contextTransactionException - the transaction exceptionpublic GlobalCommitResponse handle(GlobalCommitRequest request, RpcContext rpcContext)
handle 在接口中 TCInboundHandlerprotected abstract void doGlobalCommit(GlobalCommitRequest request, GlobalCommitResponse response, RpcContext rpcContext) throws TransactionException
request - the requestresponse - the responserpcContext - the rpc contextTransactionException - the transaction exceptionpublic GlobalRollbackResponse handle(GlobalRollbackRequest request, RpcContext rpcContext)
handle 在接口中 TCInboundHandlerprotected abstract void doGlobalRollback(GlobalRollbackRequest request, GlobalRollbackResponse response, RpcContext rpcContext) throws TransactionException
request - the requestresponse - the responserpcContext - the rpc contextTransactionException - the transaction exceptionpublic BranchRegisterResponse handle(BranchRegisterRequest request, RpcContext rpcContext)
handle 在接口中 TCInboundHandlerprotected abstract void doBranchRegister(BranchRegisterRequest request, BranchRegisterResponse response, RpcContext rpcContext) throws TransactionException
request - the requestresponse - the responserpcContext - the rpc contextTransactionException - the transaction exceptionpublic BranchReportResponse handle(BranchReportRequest request, RpcContext rpcContext)
handle 在接口中 TCInboundHandlerprotected abstract void doBranchReport(BranchReportRequest request, BranchReportResponse response, RpcContext rpcContext) throws TransactionException
request - the requestrpcContext - the rpc contextTransactionException - the transaction exceptionpublic GlobalLockQueryResponse handle(GlobalLockQueryRequest request, RpcContext rpcContext)
handle 在接口中 TCInboundHandlerprotected abstract void doLockCheck(GlobalLockQueryRequest request, GlobalLockQueryResponse response, RpcContext rpcContext) throws TransactionException
request - the requestresponse - the responserpcContext - the rpc contextTransactionException - the transaction exceptionpublic GlobalStatusResponse handle(GlobalStatusRequest request, RpcContext rpcContext)
handle 在接口中 TCInboundHandlerprotected abstract void doGlobalStatus(GlobalStatusRequest request, GlobalStatusResponse response, RpcContext rpcContext) throws TransactionException
request - the requestresponse - the responserpcContext - the rpc contextTransactionException - the transaction exceptionpublic GlobalReportResponse handle(GlobalReportRequest request, RpcContext rpcContext)
handle 在接口中 TCInboundHandlerprotected abstract void doGlobalReport(GlobalReportRequest request, GlobalReportResponse response, RpcContext rpcContext) throws TransactionException
request - the requestresponse - the responserpcContext - the rpc contextTransactionException - the transaction exceptionCopyright © 2022 Seata. All rights reserved.