Package com.helixframework.retry
Interface RetryableFunction<T>
- Type Parameters:
T- return type of the wrapped function
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function that should be retried in the event of an exception.
-
Method Summary
-
Method Details
-
execute
Executes the wrapped function.- Returns:
- result of the wrapped function
- Throws:
Exception- exception
-