Interface Retry.NeedsRetries

  • Enclosing class:
    Retry

    public static interface Retry.NeedsRetries
    • Method Detail

      • infiniteRetries

        Retry.NeedsRetryDelay infiniteRetries()
        Returns:
        this builder with the maximum number of retries set to unlimited
      • maxRetries

        Retry.NeedsRetryDelay maxRetries​(long max)
        Parameters:
        max - the maximum number of retries to set
        Returns:
        this builder with the maximum number of retries set to the provided value