Package io.micronaut.retry.annotation
Interface RetryPredicate
-
- All Superinterfaces:
java.util.function.Predicate<java.lang.Throwable>
- All Known Implementing Classes:
DefaultRetryPredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Introspected @FunctionalInterface public interface RetryPredicate extends java.util.function.Predicate<java.lang.Throwable>
An interface allows to provide custom condition forRetryable
andCircuitBreaker
.- Since:
- 2.0