Interface AbstractUserDatabase.Transaction

All Superinterfaces:
java.lang.AutoCloseable
Enclosing class:
AbstractUserDatabase

public static interface AbstractUserDatabase.Transaction
extends java.lang.AutoCloseable
An abstract transaction.

An abstract transaction interface.

See Also:
AbstractUserDatabase.startTransaction()
  • Method Summary

    Modifier and Type Method Description
    void commit()
    Commits the transaction.
    void rollback()
    Rolls back the transaction.

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • commit

      void commit()
      Commits the transaction.

      See Also:
      rollback()
    • rollback

      void rollback()
      Rolls back the transaction.

      See Also:
      commit()