Interface RetryingTransactionHelper.RetryingTransactionCallback<Result>

Enclosing class:
RetryingTransactionHelper

@AlfrescoPublicApi public static interface RetryingTransactionHelper.RetryingTransactionCallback<Result>
Callback interface
Author:
Derek Hulley
  • Method Summary

    Modifier and Type
    Method
    Description
    Perform a unit of transactional work.
  • Method Details

    • execute

      Result execute() throws Throwable
      Perform a unit of transactional work.
      Returns:
      Return the result of the unit of work
      Throws:
      Throwable - This can be anything and will guarantee either a retry or a rollback