Class ClosedTransactionException

  • All Implemented Interfaces:
    Serializable

    @Beta
    public final class ClosedTransactionException
    extends RequestException
    A RequestException indicating that the backend has received a request for a transaction which has already been closed, either via a successful commit or abort (which is indicated via isSuccessful(). This can happen if the corresponding journal record is replicated, but the message to the frontend gets lost and the backed leader moved before the frontend retried the corresponding request.
    Author:
    Robert Varga
    See Also:
    Serialized Form
    • Constructor Detail

      • ClosedTransactionException

        public ClosedTransactionException​(boolean successful)
    • Method Detail

      • isSuccessful

        public boolean isSuccessful()