Interface RetryingTransactionHelper.RetryingTransactionCallback<Result>

  • Enclosing class:
    RetryingTransactionHelper

    @AlfrescoPublicApi
    public static interface RetryingTransactionHelper.RetryingTransactionCallback<Result>
    Callback interface
    Author:
    Derek Hulley
    • 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