transaction = result.getTransaction(); imported = result.isNewImportedTransaction();
public SubordinateTransaction importTransaction(Xid xid, int timeout) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, timeout).getTransaction(); }
public SubordinateTransaction importTransaction(Xid xid, int timeout) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, timeout).getTransaction(); }
public SubordinateTransaction importTransaction(Xid xid, int timeout) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, timeout).getTransaction(); }
public SubordinateTransaction importTransaction(Xid xid, int timeout) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, timeout).getTransaction(); }
public SubordinateTransaction importTransaction(Xid xid, int timeout) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, timeout).getTransaction(); }
@Override public SubordinateTransaction importTransaction(Xid xid, int timeout) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, timeout).getTransaction(); }
/** * Create a subordinate transaction associated with the * global transaction inflow. No timeout is associated with the * transaction. * * @param xid the global transaction. * * @return the subordinate transaction. * * @throws XAException thrown if there are any errors. */ public SubordinateTransaction importTransaction (Xid xid) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, 0).getTransaction(); }
/** * Create a subordinate transaction associated with the global transaction * inflow. No timeout is associated with the transaction. * * @param xid * the global transaction. * * @return the subordinate transaction. * * @throws javax.transaction.xa.XAException * thrown if there are any errors. */ public SubordinateTransaction importTransaction(Xid xid) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, 0).getTransaction(); }
/** * Create a subordinate transaction associated with the global transaction * inflow. No timeout is associated with the transaction. * * @param xid * the global transaction. * * @return the subordinate transaction. * * @throws javax.transaction.xa.XAException * thrown if there are any errors. */ public SubordinateTransaction importTransaction(Xid xid) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, 0).getTransaction(); }
/** * Create a subordinate transaction associated with the global transaction * inflow. No timeout is associated with the transaction. * * @param xid * the global transaction. * * @return the subordinate transaction. * * @throws javax.transaction.xa.XAException * thrown if there are any errors. */ public SubordinateTransaction importTransaction(Xid xid) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, 0).getTransaction(); }
/** * Create a subordinate transaction associated with the global transaction * inflow. No timeout is associated with the transaction. * * @param xid * the global transaction. * * @return the subordinate transaction. * * @throws javax.transaction.xa.XAException * thrown if there are any errors. */ public SubordinateTransaction importTransaction(Xid xid) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, 0).getTransaction(); }
/** * Create a subordinate transaction associated with the global transaction * inflow. No timeout is associated with the transaction. * * @param xid * the global transaction. * * @return the subordinate transaction. * * @throws javax.transaction.xa.XAException * thrown if there are any errors. */ public SubordinateTransaction importTransaction(Xid xid) throws XAException { return (SubordinateTransaction) importRemoteTransaction(xid, 0).getTransaction(); }
public SubordinateTransaction recoverTransaction (Uid actId) throws XAException { if (actId == null) throw new IllegalArgumentException(); TransactionImple recovered = new TransactionImple(actId); if (recovered.baseXid() == null) throw new IllegalArgumentException(); return (SubordinateTransaction) addImportedTransaction(recovered, recovered.baseXid(), null, 0).getTransaction(); }
/** * Used to recover an imported transaction. * * @param actId * the state to recover. * @return the recovered transaction object. * @throws javax.transaction.xa.XAException */ public TransactionImple recoverTransaction(Uid actId) throws XAException { if (actId == null) throw new IllegalArgumentException(); TransactionImple recovered = new TransactionImple(actId); if (recovered.baseXid() == null) throw new IllegalArgumentException(); /* * Is the transaction already in the map? This may be the case because * we scan the object store periodically and may get Uids to recover for * transactions that are progressing normally, i.e., do not need * recovery. In which case, we need to ignore them: * * ie calling addImportedTransaction with a non null value for recovered will * call recovered.recordTransaction() */ return (TransactionImple) addImportedTransaction(recovered, recovered.baseXid(), null, 0).getTransaction(); }
/** * Used to recover an imported transaction. * * @param actId * the state to recover. * @return the recovered transaction object. * @throws javax.transaction.xa.XAException */ public TransactionImple recoverTransaction(Uid actId) throws XAException { if (actId == null) throw new IllegalArgumentException(); TransactionImple recovered = new TransactionImple(actId); if (recovered.baseXid() == null) throw new IllegalArgumentException(); /* * Is the transaction already in the map? This may be the case because * we scan the object store periodically and may get Uids to recover for * transactions that are progressing normally, i.e., do not need * recovery. In which case, we need to ignore them: * * ie calling addImportedTransaction with a non null value for recovered will * call recovered.recordTransaction() */ return (TransactionImple) addImportedTransaction(recovered, recovered.baseXid(), null, 0).getTransaction(); }
/** * Used to recover an imported transaction. * * @param actId * the state to recover. * @return the recovered transaction object. * @throws javax.transaction.xa.XAException */ public TransactionImple recoverTransaction(Uid actId) throws XAException { if (actId == null) throw new IllegalArgumentException(); TransactionImple recovered = new TransactionImple(actId); if (recovered.baseXid() == null) throw new IllegalArgumentException(); /* * Is the transaction already in the map? This may be the case because * we scan the object store periodically and may get Uids to recover for * transactions that are progressing normally, i.e., do not need * recovery. In which case, we need to ignore them: * * ie calling addImportedTransaction with a non null value for recovered will * call recovered.recordTransaction() */ return (TransactionImple) addImportedTransaction(recovered, recovered.baseXid(), null, 0).getTransaction(); }
/** * Used to recover an imported transaction. * * @param actId * the state to recover. * @return the recovered transaction object. * @throws javax.transaction.xa.XAException */ public TransactionImple recoverTransaction(Uid actId) throws XAException { if (actId == null) throw new IllegalArgumentException(); TransactionImple recovered = new TransactionImple(actId); if (recovered.baseXid() == null) throw new IllegalArgumentException(); /* * Is the transaction already in the map? This may be the case because * we scan the object store periodically and may get Uids to recover for * transactions that are progressing normally, i.e., do not need * recovery. In which case, we need to ignore them: * * ie calling addImportedTransaction with a non null value for recovered will * call recovered.recordTransaction() */ return (TransactionImple) addImportedTransaction(recovered, recovered.baseXid(), null, 0).getTransaction(); }
/** * Used to recover an imported transaction. * * @param actId * the state to recover. * @return the recovered transaction object. * @throws javax.transaction.xa.XAException */ public TransactionImple recoverTransaction(Uid actId) throws XAException { if (actId == null) throw new IllegalArgumentException(); TransactionImple recovered = new TransactionImple(actId); if (recovered.baseXid() == null) throw new IllegalArgumentException(); /* * Is the transaction already in the map? This may be the case because * we scan the object store periodically and may get Uids to recover for * transactions that are progressing normally, i.e., do not need * recovery. In which case, we need to ignore them: * * ie calling addImportedTransaction with a non null value for recovered will * call recovered.recordTransaction() */ return (TransactionImple) addImportedTransaction(recovered, recovered.baseXid(), null, 0).getTransaction(); }
transaction = result.getTransaction(); imported = result.isNewImportedTransaction();