Interface RetryUtils.CleanupAfterFailure

Enclosing class:
RetryUtils

public static interface RetryUtils.CleanupAfterFailure
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This is called once RetryUtils.Task.perform() fails.
  • Method Details

    • cleanup

      void cleanup()
      This is called once RetryUtils.Task.perform() fails. Retrying is stopped once this method throws an exception, so errors inside this method should be ignored if you don't want to stop retrying.