Class RetryConfig.RetryConfigBuilder

  • Enclosing class:
    RetryConfig

    public static class RetryConfig.RetryConfigBuilder
    extends java.lang.Object
    • Method Detail

      • delayAttempt

        public RetryConfig.RetryConfigBuilder delayAttempt​(java.util.function.Function<java.lang.Integer,​java.time.Duration> delayAttempt)
        Returns:
        this.
      • acceptAttempt

        public RetryConfig.RetryConfigBuilder acceptAttempt​(java.util.function.Predicate<java.lang.Integer> acceptAttempt)
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object