Interface FramedTxGraph

All Superinterfaces:
AutoCloseable, FramedGraph
All Known Subinterfaces:
WrappedFramedTxGraph<G>

public interface FramedTxGraph
extends FramedGraph
Adapted flavor of the FramedGraph. This interface will return a Tx instead of a WrappedTransaction. The Tx interface contains some useful methods which makes it easier is some cases to work with transactions. This includes automatic rollback within the autoclosable and transaction reference handling.
  • Method Details

    • tx

      default Tx tx()
      Return an active transaction or create a new transaction if no active could be found.
      Specified by:
      tx in interface FramedGraph
    • createTx

      Tx createTx()
      Create a new transaction.
      Returns:
      new transaction.