135136137138139140141142143144145
SubordinateTransaction tx = _transactions.get(new XidImple(xid)); if (tx == null) return null; if (tx.baseXid() == null) { /* * Try recovery again. If it fails we'll throw a RETRY to the caller who * should try again later. */
6465666768697071727374
SubordinateTransaction tx = SubordinationManager.getTransactionImporter().getImportedTransaction(xid); if (tx == null) throw new XAException(XAException.XAER_INVAL); if (tx.baseXid() != null) // activate failed? { if (onePhase) tx.doOnePhaseCommit(); else tx.doCommit();
294295296297298299300301302303304
SubordinateTransaction tx = SubordinationManager.getTransactionImporter().getImportedTransaction(xid); if (tx == null) throw new XAException(XAException.XAER_INVAL); if (tx.baseXid() != null) { tx.doRollback(); SubordinationManager.getTransactionImporter().removeImportedTransaction(xid); }
6768697071727374757677
.getTransactionImporter().getImportedTransaction(xid); if (tx == null) throw new XAException(XAException.XAER_INVAL); if (tx.baseXid() != null) // activate failed? { if (onePhase) tx.doOnePhaseCommit(); else tx.doCommit();
324325326327328329330331332333334
.getTransactionImporter().getImportedTransaction(xid); if (tx == null) throw new XAException(XAException.XAER_INVAL); if (tx.baseXid() != null) { tx.doRollback(); SubordinationManager.getTransactionImporter() .removeImportedTransaction(xid);