com.atlassian.confluence.util.transaction
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
 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


Copyright © 2003-2011 Atlassian. All Rights Reserved.