Interface TxnMember


  • public interface TxnMember
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void commit()
      Implementations of this method must always succeed, and must never throw exceptions.
      default void postCommit()
      Implementations of this method may fail, and may throw exceptions.
      default void rollback()
      Implementations of this method must always succeed, and must never throw exceptions.
    • Method Detail

      • rollback

        default void rollback()
        Implementations of this method must always succeed, and must never throw exceptions.
      • commit

        default void commit()
        Implementations of this method must always succeed, and must never throw exceptions.
      • postCommit

        default void postCommit()
        Implementations of this method may fail, and may throw exceptions.

        If an impl throws an exception, the Txn's post-commit sequence terminates immediately, without performing any post-commit operations for subsequent members.