Class DefaultRetryPredicate

java.lang.Object
io.micronaut.retry.annotation.DefaultRetryPredicate
All Implemented Interfaces:
RetryPredicate, Predicate<Throwable>

@Introspected public class DefaultRetryPredicate extends Object implements RetryPredicate
Default retry predicate.
Since:
2.0
Author:
Anton Tsukanov
  • Constructor Details

    • DefaultRetryPredicate

      public DefaultRetryPredicate(List<Class<? extends Throwable>> includes, List<Class<? extends Throwable>> excludes)
      Parameters:
      includes - Classes to include for retry
      excludes - Classes to exclude for retry
    • DefaultRetryPredicate

      public DefaultRetryPredicate()
      Default constructor.
  • Method Details