- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface RetryIndicator
Represents a function that is invoked when a recoverable error, including OCC conflicts, occurs and the retry limit has not yet
been exceeded, indicating that a new transaction is about to be created and the Executor lambda re-invoked. The retry attempt
is passed in as a parameter.