com.atlassian.confluence.util.transaction
Interface TransactionExecutor<K>
- All Known Implementing Classes:
- ReadOnlyTransactionExecutor
public interface TransactionExecutor<K>
Allows that wrapping of TransactionCallback
s so that they may
occur in a separate context (e.g. the transaction may execute in another thread).
Method Summary |
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. |
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