Interface Retry.NeedsRetryDelay

  • Enclosing class:
    Retry

    public static interface Retry.NeedsRetryDelay
    • Method Detail

      • retryAfter

        Retry.NeedsTimeIncrement retryAfter​(long duration,
                                            TimeUnit unit)
        Parameters:
        duration - the amount of time to wait before the first retry; input is converted to milliseconds, rounded down to the nearest
        Returns:
        this builder with the initial wait period set