Interface TransactionExecutor<K>

  • All Known Implementing Classes:
    ReadOnlyTransactionExecutor

    public interface TransactionExecutor<K>
    Allows that wrapping of TransactionCallbacks so that they may occur in a separate context (e.g. the transaction may execute in another thread).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Future<K> performTransactionAction​(org.springframework.transaction.support.TransactionCallback action)
      Invokes the provided action within its own transaction context, and returns a Future representing the results of the invocation.
    • Method Detail

      • performTransactionAction

        Future<K> performTransactionAction​(org.springframework.transaction.support.TransactionCallback action)
        Invokes the provided action within its own transaction context, and returns a Future representing the results of the invocation.
        Parameters:
        action - to perform
        Returns:
        the result of the action