Class RecoveryAwareLocalTransaction

    • Constructor Detail

      • RecoveryAwareLocalTransaction

        public RecoveryAwareLocalTransaction​(Transaction transaction,
                                             GlobalTransaction tx,
                                             boolean implicitTransaction,
                                             int topologyId,
                                             long txCreationTime)
    • Method Detail

      • isCompletionFailed

        public boolean isCompletionFailed()
        Returns true if this transaction failed during 2nd phase of 2PC(prepare or commit). E.g. when the transaction successfully prepared but the commit failed due to a network issue.
      • setCompletionFailed

        public void setCompletionFailed​(boolean completionFailed)
        See Also:
        isCompletionFailed()