Class DldGlobalTransaction

    • Field Detail

      • locksAtOrigin

        protected volatile Collection<?> locksAtOrigin
        Deprecated.
    • Constructor Detail

      • DldGlobalTransaction

        public DldGlobalTransaction()
        Deprecated.
      • DldGlobalTransaction

        public DldGlobalTransaction​(Address addr,
                                    boolean remote)
        Deprecated.
    • Method Detail

      • setCoinToss

        public void setCoinToss​(long coinToss)
        Deprecated.
        Sets the random number that defines the coin toss. A coin toss is a random number that is used when a deadlock is detected for deciding which transaction should commit and which should rollback.
      • getCoinToss

        public long getCoinToss()
        Deprecated.
      • getLockIntention

        public Collection<Object> getLockIntention()
        Deprecated.
        Returns the key this transaction intends to lock.
      • setLockIntention

        public void setLockIntention​(Collection<Object> lockIntention)
        Deprecated.
      • setRemoteLockIntention

        public void setRemoteLockIntention​(Collection<?> remoteLockIntention)
        Deprecated.
      • getRemoteLockIntention

        public Collection<?> getRemoteLockIntention()
        Deprecated.
      • hasAnyLockAtOrigin

        public boolean hasAnyLockAtOrigin​(DldGlobalTransaction otherTx)
        Deprecated.
      • setLocksHeldAtOrigin

        public void setLocksHeldAtOrigin​(Collection<?> locksAtOrigin)
        Deprecated.
      • getLocksHeldAtOrigin

        public Collection<?> getLocksHeldAtOrigin()
        Deprecated.