Class RateLimitingConfig

java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.search.config.RateLimitingConfig

public final class RateLimitingConfig extends com.yahoo.config.ConfigInstance
This class represents the root node of rate-limiting Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. Configuration of the rate limiting algorithm
  • Field Details

  • Constructor Details

  • Method Details

    • getDefMd5

      public static String getDefMd5()
    • getDefName

      public static String getDefName()
    • getDefNamespace

      public static String getDefNamespace()
    • capacityIncrement

      public double capacityIncrement()
      Returns:
      rate-limiting.capacityIncrement
    • maxAvailableCapacity

      public double maxAvailableCapacity()
      Returns:
      rate-limiting.maxAvailableCapacity
    • recheckForCapacityProbability

      public double recheckForCapacityProbability()
      Returns:
      rate-limiting.recheckForCapacityProbability
    • localRate

      public boolean localRate()
      Returns:
      rate-limiting.localRate