Package org.alfresco.repo.transaction
Interface RetryingTransactionHelper.RetryingTransactionCallback<Result>
-
- Enclosing class:
- RetryingTransactionHelper
@AlfrescoPublicApi public static interface RetryingTransactionHelper.RetryingTransactionCallback<Result>Callback interface- Author:
- Derek Hulley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resultexecute()Perform a unit of transactional work.
-
-
-
Method Detail
-
execute
Result execute() throws java.lang.Throwable
Perform a unit of transactional work.- Returns:
- Return the result of the unit of work
- Throws:
java.lang.Throwable- This can be anything and will guarantee either a retry or a rollback
-
-