Annotation Interface ResilienceRetry


@Documented @Inherited @Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface ResilienceRetry
  • 元素详细资料

    • name

      String name
      默认值:
      ""
    • maxAttempts

      int maxAttempts
      默认值:
      3
    • waitDurationInMillis

      long waitDurationInMillis
      默认值:
      500L
    • retryOnResultPredicate

      Class<? extends Predicate> retryOnResultPredicate
      默认值:
      java.util.function.Predicate.class
    • failAfterMaxAttempts

      boolean failAfterMaxAttempts
      默认值:
      false
    • isolatedExecutor

      boolean isolatedExecutor
      默认值:
      false