Interface Mutiny.Transaction

Enclosing interface:
Mutiny

public static interface Mutiny.Transaction
Allows code within Mutiny.Session.withTransaction(Function) to mark a transaction for rollback. A transaction marked for rollback will never be committed.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Is the current transaction marked for rollback.
    void
    Mark the current transaction for rollback.
  • Method Details

    • markForRollback

      void markForRollback()
      Mark the current transaction for rollback.
    • isMarkedForRollback

      boolean isMarkedForRollback()
      Is the current transaction marked for rollback.