Interface SamplingRateBoost.Builder

  • Method Details

    • maxRate

      Defines max temporary sampling rate to apply when a boost is triggered. Calculated boost rate by X-Ray will be less than or equal to this max rate.

      Parameters:
      maxRate - Defines max temporary sampling rate to apply when a boost is triggered. Calculated boost rate by X-Ray will be less than or equal to this max rate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cooldownWindowMinutes

      SamplingRateBoost.Builder cooldownWindowMinutes(Integer cooldownWindowMinutes)

      Sets the time window (in minutes) in which only one sampling rate boost can be triggered. After a boost occurs, no further boosts are allowed until the next window.

      Parameters:
      cooldownWindowMinutes - Sets the time window (in minutes) in which only one sampling rate boost can be triggered. After a boost occurs, no further boosts are allowed until the next window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.