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

    Modifier and Type
    Method
    Description
    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 Details

    • 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