Class CommitLocalTransactionRequest

    • Method Detail

      • getDelayedFailure

        public Optional<Exception> getDelayedFailure()
        Return the delayed error detected on the frontend. If this error is present, it will be reported as the result of the first step of the commit process.
        Returns:
        Delayed failure, if present.
      • isCoordinated

        public boolean isCoordinated()
        Indicate if this is a coordinated, multi-backend request. If this method returns true, the backend must act as a cohort participating in the three-phase commit (3PC) protocol to commit this transaction. If this method returns false, the backend should proceed to commit the transaction and respond once the commit completes or fails to complete.
        Returns:
        Indication of coordinated commit.