Interface RetryingCallbackHelper.RetryingCallback<Result>

Enclosing class:
RetryingCallbackHelper

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

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

    • 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