Package org.alfresco.ibatis
Interface RetryingCallbackHelper.RetryingCallback<Result>
-
- Enclosing class:
- RetryingCallbackHelper
public static interface RetryingCallbackHelper.RetryingCallback<Result>Callback interface- Author:
- Derek Hulley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resultexecute()Perform a unit of work.
-
-
-
Method Detail
-
execute
Result execute() throws java.lang.Throwable
Perform a unit of 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
-
-