Interface Retry.NeedsTimeIncrement

  • Enclosing class:
    Retry

    public static interface Retry.NeedsTimeIncrement
    • Method Detail

      • incrementBy

        Retry.NeedsMaxWait incrementBy​(long duration,
                                       TimeUnit unit)
        Parameters:
        duration - the amount of additional time to add before each subsequent retry; input is converted to milliseconds, rounded down to the nearest
        Returns:
        this builder with the increment amount set