@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
@Override public int getFormatId() { return xidImple.getFormatId(); } @Override
public int getFormatId() { return xidImple.getFormatId(); }
public final boolean isSameTransaction(Xid xid) { if (xid == null) return false; if (xid instanceof XidImple) { return _theXid.isSameTransaction(((XidImple) xid)._theXid); } if (getFormatId() == xid.getFormatId()) { byte[] gtx = xid.getGlobalTransactionId(); if (_theXid.gtrid_length == gtx.length) { if (equals(xid)) return true; else { for (int i = 0; i < _theXid.gtrid_length; i++) { if (_theXid.data[i] != gtx[i]) return false; } return true; } } } return false; }
public final boolean isSameTransaction(Xid xid) { if (xid == null) return false; if (xid instanceof XidImple) { return _theXid.isSameTransaction(((XidImple) xid)._theXid); } if (getFormatId() == xid.getFormatId()) { byte[] gtx = xid.getGlobalTransactionId(); if (_theXid.gtrid_length == gtx.length) { if (equals(xid)) return true; else { for (int i = 0; i < _theXid.gtrid_length; i++) { if (_theXid.data[i] != gtx[i]) return false; } return true; } } } return false; }
public final boolean isSameTransaction(Xid xid) { if (xid == null) return false; if (xid instanceof XidImple) { return _theXid.isSameTransaction(((XidImple) xid)._theXid); } if (getFormatId() == xid.getFormatId()) { byte[] gtx = xid.getGlobalTransactionId(); if (_theXid.gtrid_length == gtx.length) { if (equals(xid)) return true; else { for (int i = 0; i < _theXid.gtrid_length; i++) { if (_theXid.data[i] != gtx[i]) return false; } return true; } } } return false; }
public final boolean isSameTransaction(Xid xid) { if (xid == null) return false; if (xid instanceof XidImple) { return _theXid.isSameTransaction(((XidImple) xid)._theXid); } if (getFormatId() == xid.getFormatId()) { byte[] gtx = xid.getGlobalTransactionId(); if (_theXid.gtrid_length == gtx.length) { if (equals(xid)) return true; else { for (int i = 0; i < _theXid.gtrid_length; i++) { if (_theXid.data[i] != gtx[i]) return false; } return true; } } } return false; }
public final boolean isSameTransaction(Xid xid) { if (xid == null) return false; if (xid instanceof XidImple) { return _theXid.isSameTransaction(((XidImple) xid)._theXid); } if (getFormatId() == xid.getFormatId()) { byte[] gtx = xid.getGlobalTransactionId(); if (_theXid.gtrid_length == gtx.length) { if (equals(xid)) return true; else { for (int i = 0; i < _theXid.gtrid_length; i++) { if (_theXid.data[i] != gtx[i]) return false; } return true; } } } return false; }
public final boolean isSameTransaction(Xid xid) { if (xid == null) return false; if (xid instanceof XidImple) { return _theXid.isSameTransaction(((XidImple) xid)._theXid); } if (getFormatId() == xid.getFormatId()) { byte[] gtx = xid.getGlobalTransactionId(); if (_theXid.gtrid_length == gtx.length) { if (equals(xid)) return true; else { for (int i = 0; i < _theXid.gtrid_length; i++) { if (_theXid.data[i] != gtx[i]) return false; } return true; } } } return false; }
public final boolean isSameTransaction (Xid xid) { if (xid == null) return false; if (xid instanceof XidImple) { return _theXid.isSameTransaction(((XidImple) xid)._theXid); } if (getFormatId() == xid.getFormatId()) { byte[] gtx = xid.getGlobalTransactionId(); if (_theXid.gtrid_length == gtx.length) { if (equals(xid)) return true; else { for (int i = 0; i < _theXid.gtrid_length; i++) { if (_theXid.data[i] != gtx[i]) return false; } return true; } } } return false; }
AtomicAction A = new AtomicAction(); assertEquals(xid1.getFormatId(), -1); assertTrue(xid1.getFormatId() != -1);