Interface TransactionSupport


public interface TransactionSupport
A transaction control abstraction that allows to be independent of the concrete transaction technology.
Since:
1.4.0
Author:
Christian Beikov
  • Method Summary

    Modifier and Type Method Description
    void transactional​(Runnable runnable)
    Starts a new transaction, possibly suspending an existing one, and runs the given runnable within.
  • Method Details

    • transactional

      void transactional​(Runnable runnable)
      Starts a new transaction, possibly suspending an existing one, and runs the given runnable within.
      Parameters:
      runnable - The runnable to run in a new transaction