Interface RetryingCallbackHelper.RetryingCallback<Result>

  • Enclosing class:
    RetryingCallbackHelper

    public static interface RetryingCallbackHelper.RetryingCallback<Result>
    Callback interface
    Author:
    Derek Hulley
    • Method Detail

      • execute

        Result execute()
                throws Throwable
        Perform a unit of 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