public interface

TransactionExecutor

com.atlassian.confluence.util.transaction.TransactionExecutor<K>
Known Indirect Subclasses

Class Overview

Allows that wrapping of org.springframework.transaction.support.TransactionCallbacks so that they may occur in a separate context (e.g. the transaction may execute in another thread).

Summary

Public Methods
Future<K> performTransactionAction(TransactionCallback action)
Invokes the provided action within its own transaction context, and returns a Future representing the results of the invocation.

Public Methods

public Future<K> performTransactionAction (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