Interface ThrottleSettings.Builder

    • Method Detail

      • burstLimit

        ThrottleSettings.Builder burstLimit​(Integer burstLimit)

        The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.

        Parameters:
        burstLimit - The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rateLimit

        ThrottleSettings.Builder rateLimit​(Double rateLimit)

        The API target request rate limit.

        Parameters:
        rateLimit - The API target request rate limit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.