Interface RetryUtils.CleanupAfterFailure
- Enclosing class:
- RetryUtils
public static interface RetryUtils.CleanupAfterFailure
-
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()This is called onceRetryUtils.Task.perform()fails.
-
Method Details
-
cleanup
void cleanup()This is called onceRetryUtils.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.
-