public boolean is_same_transaction(Coordinator tc){ return (hash_code == tc.hash_transaction()); }
/** * compute the hashcode for the wrapped local or remote control using the same algorithm as ControlWrapper * @return the hashcode */ private int computeHashCode() { try { if (_local != null) { return _local.getImplHandle().hash_transaction(); } else if (_control != null) { Coordinator coord = _control.get_coordinator(); return coord.hash_transaction(); } } catch (Exception e) { } return -1; }
+ tc.hash_transaction() + ", " + hash_transaction() + " >"); if (tc.hash_transaction() != hash_transaction()) return false;
/** * compute the hashcode for the wrapped local or remote control using the same algorithm as ControlWrapper * @return the hashcode */ private int computeHashCode() { try { if (_local != null) { return _local.getImplHandle().hash_transaction(); } else if (_control != null) { Coordinator coord = _control.get_coordinator(); return coord.hash_transaction(); } } catch (Exception e) { } return -1; }
public final int hash_transaction () throws SystemException { try { if (_controlImpl != null) return _controlImpl.getImplHandle().hash_transaction(); else { try { Coordinator coord = _control.get_coordinator(); return coord.hash_transaction(); } catch (SystemException ex) { throw ex; } } } catch (Exception e) { return -1; } }
public final int hash_transaction () throws SystemException { try { if (_controlImpl != null) return _controlImpl.getImplHandle().hash_transaction(); else { try { Coordinator coord = _control.get_coordinator(); return coord.hash_transaction(); } catch (SystemException ex) { throw ex; } } } catch (Exception e) { return -1; } }
+ tc.hash_transaction() + ", " + hash_transaction() + " >"); if (tc.hash_transaction() != hash_transaction()) return false;