| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Uses of Interface org.apache.qpid.protonj2.engine.Transaction (Qpid ProtonJ2 Parent 1.0.0-M9 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Uses of Interface org.apache.qpid.protonj2.engine.Transaction (Qpid ProtonJ2 Parent 1.0.0-M9 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h2 title="Uses of Interface org.apache.qpid.protonj2.engine.Transaction" class="title">Uses of Interface<br>org.apache.qpid.protonj2.engine.Transaction</h2> |
| </div> |
| <div class="classUseContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="useSummary"> |
| <caption><span>Packages that use <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Package</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.qpid.protonj2.engine">org.apache.qpid.protonj2.engine</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="#org.apache.qpid.protonj2.engine.impl">org.apache.qpid.protonj2.engine.impl</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.qpid.protonj2.engine"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a> in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a></h3> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a> that return <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declare()">declare</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the remote <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> declare a new transaction and |
| respond with a new transaction Id for that transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#newTransaction()">newTransaction</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> instances that is returned in the <a href="../TransactionState.html#IDLE"><code>TransactionState.IDLE</code></a> state |
| which can be populated with application specific attachments or assigned a linked resource prior to calling |
| the</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a> that return types with arguments of type <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#transactions()">transactions</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a list of <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> objects that are active within this <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> which |
| have not reached a terminal state meaning they have not been successfully discharged and have not failed in |
| either the <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> phase or the <a href="../../types/transactions/Discharge.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Discharge</code></a> phase.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a> with parameters of type <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declare(org.apache.qpid.protonj2.engine.Transaction)">declare</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction)</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the remote <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> declare a new transaction and |
| respond with a new transaction Id for that transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>default <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionManager.</span><code><span class="memberNameLink"><a href="../TransactionManager.html#declared(org.apache.qpid.protonj2.engine.Transaction,byte%5B%5D)">declared</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction, |
| byte[] txnId)</code></th> |
| <td class="colLast"> |
| <div class="block">Respond to a previous <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> request from the remote <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> |
| indicating that the requested transaction has been successfully declared and that deliveries |
| can now be enlisted in that transaction.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionManager.</span><code><span class="memberNameLink"><a href="../TransactionManager.html#declared(org.apache.qpid.protonj2.engine.Transaction,org.apache.qpid.protonj2.types.Binary)">declared</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction, |
| <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types">Binary</a> txnId)</code></th> |
| <td class="colLast"> |
| <div class="block">Respond to a previous <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> request from the remote <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> |
| indicating that the requested transaction has been successfully declared and that deliveries |
| can now be enlisted in that transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionManager.</span><code><span class="memberNameLink"><a href="../TransactionManager.html#declareFailed(org.apache.qpid.protonj2.engine.Transaction,org.apache.qpid.protonj2.types.transport.ErrorCondition)">declareFailed</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction, |
| <a href="../../types/transport/ErrorCondition.html" title="class in org.apache.qpid.protonj2.types.transport">ErrorCondition</a> condition)</code></th> |
| <td class="colLast"> |
| <div class="block">Respond to a previous <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> request from the remote <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> |
| indicating that the requested transaction declaration has failed and is not active.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)">discharge</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction, |
| boolean failed)</code></th> |
| <td class="colLast"> |
| <div class="block">Request that the remote <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> discharge the given transaction and |
| with the specified failure state (true for failed).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionManager.</span><code><span class="memberNameLink"><a href="../TransactionManager.html#discharged(org.apache.qpid.protonj2.engine.Transaction)">discharged</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction)</code></th> |
| <td class="colLast"> |
| <div class="block">Respond to a previous <a href="../../types/transactions/Discharge.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Discharge</code></a> request from the remote <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> |
| indicating that the discharge completed on the transaction identified by given transaction Id |
| has now been retired.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionManager.</span><code><span class="memberNameLink"><a href="../TransactionManager.html#dischargeFailed(org.apache.qpid.protonj2.engine.Transaction,org.apache.qpid.protonj2.types.transport.ErrorCondition)">dischargeFailed</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction, |
| <a href="../../types/transport/ErrorCondition.html" title="class in org.apache.qpid.protonj2.types.transport">ErrorCondition</a> condition)</code></th> |
| <td class="colLast"> |
| <div class="block">Respond to a previous <a href="../../types/transactions/Discharge.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Discharge</code></a> request from the remote <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> |
| indicating that the discharge resulted in an error and the transaction must be considered rolled |
| back.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../package-summary.html">org.apache.qpid.protonj2.engine</a> with type arguments of type <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declaredHandler(org.apache.qpid.protonj2.engine.EventHandler)">declaredHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declaredEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> request and the transaction can now be used to enroll deliveries into the |
| active transaction.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#declareFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">declareFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declareFailureEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link responds to a <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> declaration |
| with an <a href="../../types/messaging/Rejected.html" title="class in org.apache.qpid.protonj2.types.messaging"><code>Rejected</code></a> outcome indicating that the transaction could not be successfully declared.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionManager.</span><code><span class="memberNameLink"><a href="../TransactionManager.html#declareHandler(org.apache.qpid.protonj2.engine.EventHandler)">declareHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>>> declaredEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> end of the link has requested a new transaction be |
| declared using the information provided in the given <a href="../../types/transactions/Declare.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Declare</code></a> instance.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#dischargedHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargedEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)"><code>TransactionController.discharge(Transaction, boolean)</code></a> request and the transaction has |
| been retired.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionController.</span><code><span class="memberNameLink"><a href="../TransactionController.html#dischargeFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargeFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargeFailureEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionManager</code></a> end of the link has responded to a previous |
| <a href="../TransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)"><code>TransactionController.discharge(Transaction, boolean)</code></a> request and the transaction discharge |
| failed for some reason.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">TransactionManager.</span><code><span class="memberNameLink"><a href="../TransactionManager.html#dischargeHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargeHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>>> dischargeEventHandler)</code></th> |
| <td class="colLast"> |
| <div class="block">Called when the <a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine"><code>TransactionController</code></a> end of the link has requested a current transaction be |
| discharged using the information provided in the given <a href="../../types/transactions/Discharge.html" title="class in org.apache.qpid.protonj2.types.transactions"><code>Discharge</code></a> instance.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section role="region"><a id="org.apache.qpid.protonj2.engine.impl"> |
| <!-- --> |
| </a> |
| <h3>Uses of <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a> in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a></h3> |
| <table class="useSummary"> |
| <caption><span>Classes in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> that implement <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code>class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../impl/ProtonTransaction.html" title="class in org.apache.qpid.protonj2.engine.impl">ProtonTransaction</a><E extends <a href="../Endpoint.html" title="interface in org.apache.qpid.protonj2.engine">Endpoint</a><?>></span></code></th> |
| <td class="colLast"> |
| <div class="block">Base <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> implementation that provides the basic functionality needed |
| to manage the <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine"><code>Transaction</code></a> that it represents.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> that return <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declare()">declare</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> that return types with arguments of type <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#transactions()">transactions</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Methods in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> with parameters of type <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declare(org.apache.qpid.protonj2.engine.Transaction)">declare</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionManager.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionManager.html#declared(org.apache.qpid.protonj2.engine.Transaction,org.apache.qpid.protonj2.types.Binary)">declared</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction, |
| <a href="../../types/Binary.html" title="class in org.apache.qpid.protonj2.types">Binary</a> txnId)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionManager.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionManager.html#declareFailed(org.apache.qpid.protonj2.engine.Transaction,org.apache.qpid.protonj2.types.transport.ErrorCondition)">declareFailed</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction, |
| <a href="../../types/transport/ErrorCondition.html" title="class in org.apache.qpid.protonj2.types.transport">ErrorCondition</a> condition)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#discharge(org.apache.qpid.protonj2.engine.Transaction,boolean)">discharge</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>> transaction, |
| boolean failed)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionManager.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionManager.html#discharged(org.apache.qpid.protonj2.engine.Transaction)">discharged</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionManager.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionManager.html#dischargeFailed(org.apache.qpid.protonj2.engine.Transaction,org.apache.qpid.protonj2.types.transport.ErrorCondition)">dischargeFailed</a></span>​(<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>> transaction, |
| <a href="../../types/transport/ErrorCondition.html" title="class in org.apache.qpid.protonj2.types.transport">ErrorCondition</a> condition)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| <table class="useSummary"> |
| <caption><span>Method parameters in <a href="../impl/package-summary.html">org.apache.qpid.protonj2.engine.impl</a> with type arguments of type <a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a></span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declaredHandler(org.apache.qpid.protonj2.engine.EventHandler)">declaredHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declaredEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#declareFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">declareFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> declareFailureEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionManager.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionManager.html#declareHandler(org.apache.qpid.protonj2.engine.EventHandler)">declareHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>>> declaredEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#dischargedHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargedHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargedEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionController.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionController.html#dischargeFailureHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargeFailureHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionController.html" title="interface in org.apache.qpid.protonj2.engine">TransactionController</a>>> dischargeFailureEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a></code></td> |
| <th class="colSecond" scope="row"><span class="typeNameLabel">ProtonTransactionManager.</span><code><span class="memberNameLink"><a href="../impl/ProtonTransactionManager.html#dischargeHandler(org.apache.qpid.protonj2.engine.EventHandler)">dischargeHandler</a></span>​(<a href="../EventHandler.html" title="interface in org.apache.qpid.protonj2.engine">EventHandler</a><<a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Transaction</a><<a href="../TransactionManager.html" title="interface in org.apache.qpid.protonj2.engine">TransactionManager</a>>> dischargeEventHandler)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </section> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="../package-summary.html">Package</a></li> |
| <li><a href="../Transaction.html" title="interface in org.apache.qpid.protonj2.engine">Class</a></li> |
| <li class="navBarCell1Rev">Use</li> |
| <li><a href="../package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |