@Override public Xid[] recover(final int i) throws XAException { return delegate.recover(i); }
public Xid[] recover(final int flag, final String parentName) throws XAException { return xaResource.recover(flag); }
public Xid[] recover(int arg0) throws XAException { if (this.delegate == null) { return new Xid[0]; } return delegate.recover(arg0); }
/** * Rolls the resource back */ @Override public Xid []recover(int flags) throws XAException { return _xaResource.recover(flags); }
/** * recover the transaction */ @Override public Xid[]recover(int flag) throws XAException { if (_isXATransaction) return _xaResource.recover(flag); else return null; }
public Xid[] recover(int arg0) throws XAException { if (this.delegate == null) { return new Xid[0]; } return delegate.recover(arg0); }
/** * {@inheritDoc} */ public Xid[] recover(int flag) throws XAException { return xaResource.recover(flag); }
public Xid[] recover(int arg0) throws XAException { if (this.delegate == null) { return new Xid[0]; } return delegate.recover(arg0); }
/** * {@inheritDoc} */ public Xid[] recover(int flag) throws XAException { return xaResource.recover(flag); }
public Xid[] recover(int arg0) throws XAException { if (this.delegate == null) { return new Xid[0]; } return delegate.recover(arg0); }
@Override public Xid[] recover(int arg0) throws XAException { return wrappedXAResource.recover(arg0); }
@Override public Xid[] recover(int i) throws XAException { return getResource().recover(i); }
@Override public Xid[] recover(int i) throws XAException { return xaResource.recover(i); }
public Xid[] recover(int flag) throws XAException { if (log.isTraceEnabled()) { log.trace("Recover called on XAResource " + getName() + "\n flags: " + decodeFlags(flag)); } return xaResource.recover(flag); }
public Xid[] recover(int flag) throws XAException { try { Xid[] xids = resource.recover(flag); for (int i = 0; i < xids.length; i++) { xids[i] = new SerializableXid(xids[i]); } return xids; } catch (XAException e) { throw getXAException(e); } }
public Xid[] recover(int i) throws XAException { Profiler profiler = _profilerPoint.start(); try { return _xaResource.recover(i); } finally { profiler.finish(); } }
public Xid[] recover(int arg0) throws XAException { try { return getPhysicalXAResource().recover(arg0); } catch (XAException ex) { release(); throw ex; } }
public Xid[] recover(int arg0) throws XAException { try { return getPhysicalXAResource().recover(arg0); } catch (XAException ex) { release(); throw ex; } }
public void testRecoveryHandler() throws Exception { final XAResource xaResource = cache(0).getAdvancedCache().getXAResource(); final Xid[] recover = xaResource.recover(XAResource.TMSTARTRSCAN | XAResource.TMENDRSCAN); assert recover != null && recover.length == 0; } }
public void testXidReturnedOnlyOnce() throws Throwable { EmbeddedTransaction dummyTransaction1 = beginAndSuspendTx(this.cache(3)); prepareTransaction(dummyTransaction1); manager(3).stop(); TestingUtil.blockUntilViewsReceived(60000, false, cache(0), cache(1), cache(2)); TestingUtil.waitForNoRebalance(cache(0), cache(1), cache(2)); EmbeddedTransaction dummyTransaction = beginAndSuspendTx(this.cache(0)); Xid[] recover = dummyTransaction.firstEnlistedResource().recover(XAResource.TMSTARTRSCAN | XAResource.TMENDRSCAN); assertEquals(recover.length,1); assertEquals(dummyTransaction1.getXid(), recover[0]); } }