Uses of Interface
org.apache.qpid.protonj2.engine.TransactionManager
-
Packages that use TransactionManager Package Description org.apache.qpid.protonj2.engine org.apache.qpid.protonj2.engine.impl -
-
Uses of TransactionManager in org.apache.qpid.protonj2.engine
Methods in org.apache.qpid.protonj2.engine that return TransactionManager Modifier and Type Method Description TransactionManagerTransactionManager. addCredit(int additionalCredit)Adds the given amount of credit for theTransactionManagerwhich allows theTransactionControllerto sendDeclareandDischargerequests to this manager.default TransactionManagerTransactionManager. declared(Transaction<TransactionManager> transaction, byte[] txnId)Respond to a previousDeclarerequest from the remoteTransactionControllerindicating that the requested transaction has been successfully declared and that deliveries can now be enlisted in that transaction.TransactionManagerTransactionManager. declared(Transaction<TransactionManager> transaction, Binary txnId)Respond to a previousDeclarerequest from the remoteTransactionControllerindicating that the requested transaction has been successfully declared and that deliveries can now be enlisted in that transaction.TransactionManagerTransactionManager. declareFailed(Transaction<TransactionManager> transaction, ErrorCondition condition)Respond to a previousDeclarerequest from the remoteTransactionControllerindicating that the requested transaction declaration has failed and is not active.TransactionManagerTransactionManager. declareHandler(EventHandler<Transaction<TransactionManager>> declaredEventHandler)Called when theTransactionControllerend of the link has requested a new transaction be declared using the information provided in the givenDeclareinstance.TransactionManagerTransactionManager. discharged(Transaction<TransactionManager> transaction)Respond to a previousDischargerequest from the remoteTransactionControllerindicating that the discharge completed on the transaction identified by given transaction Id has now been retired.TransactionManagerTransactionManager. dischargeFailed(Transaction<TransactionManager> transaction, ErrorCondition condition)Respond to a previousDischargerequest from the remoteTransactionControllerindicating that the discharge resulted in an error and the transaction must be considered rolled back.TransactionManagerTransactionManager. dischargeHandler(EventHandler<Transaction<TransactionManager>> dischargeEventHandler)Called when theTransactionControllerend of the link has requested a current transaction be discharged using the information provided in the givenDischargeinstance.TransactionManagerTransactionManager. parentEndpointClosedHandler(EventHandler<TransactionManager> handler)Sets aEventHandlerfor when the parentSessionorConnectionof thisTransactionManageris locally closed.TransactionManagerTransactionManager. setCoordinator(Coordinator coordinator)Sets theCoordinatortarget to assign to the local end of thisTransactionManager.TransactionManagerTransactionManager. setSource(Source source)Sets theSourceto assign to the local end of thisTransactionManager.Method parameters in org.apache.qpid.protonj2.engine with type arguments of type TransactionManager Modifier and Type Method Description default TransactionManagerTransactionManager. declared(Transaction<TransactionManager> transaction, byte[] txnId)Respond to a previousDeclarerequest from the remoteTransactionControllerindicating that the requested transaction has been successfully declared and that deliveries can now be enlisted in that transaction.TransactionManagerTransactionManager. declared(Transaction<TransactionManager> transaction, Binary txnId)Respond to a previousDeclarerequest from the remoteTransactionControllerindicating that the requested transaction has been successfully declared and that deliveries can now be enlisted in that transaction.TransactionManagerTransactionManager. declareFailed(Transaction<TransactionManager> transaction, ErrorCondition condition)Respond to a previousDeclarerequest from the remoteTransactionControllerindicating that the requested transaction declaration has failed and is not active.TransactionManagerTransactionManager. declareHandler(EventHandler<Transaction<TransactionManager>> declaredEventHandler)Called when theTransactionControllerend of the link has requested a new transaction be declared using the information provided in the givenDeclareinstance.TransactionManagerTransactionManager. discharged(Transaction<TransactionManager> transaction)Respond to a previousDischargerequest from the remoteTransactionControllerindicating that the discharge completed on the transaction identified by given transaction Id has now been retired.TransactionManagerTransactionManager. dischargeFailed(Transaction<TransactionManager> transaction, ErrorCondition condition)Respond to a previousDischargerequest from the remoteTransactionControllerindicating that the discharge resulted in an error and the transaction must be considered rolled back.TransactionManagerTransactionManager. dischargeHandler(EventHandler<Transaction<TransactionManager>> dischargeEventHandler)Called when theTransactionControllerend of the link has requested a current transaction be discharged using the information provided in the givenDischargeinstance.TransactionManagerTransactionManager. parentEndpointClosedHandler(EventHandler<TransactionManager> handler)Sets aEventHandlerfor when the parentSessionorConnectionof thisTransactionManageris locally closed.ConnectionConnection. transactionManagerOpenHandler(EventHandler<TransactionManager> remoteTxnManagerOpenEventHandler)Sets aEventHandlerfor when an AMQP Attach frame is received from the remote peer for a transaction coordination link.SessionSession. transactionManagerOpenHandler(EventHandler<TransactionManager> remoteTxnManagerOpenEventHandler)Sets aEventHandlerfor when an AMQP Attach frame is received from the remote peer for a transaction coordination link. -
Uses of TransactionManager in org.apache.qpid.protonj2.engine.impl
Classes in org.apache.qpid.protonj2.engine.impl that implement TransactionManager Modifier and Type Class Description classProtonTransactionManagerTransactionManagerimplementation that implements the abstraction around a receiver link that responds to requests toDeclareand toDischargeAMQPTransactioninstance.
-