Class RateLimitManager

  • All Implemented Interfaces:
    ClusterPropertiesListener

    @SolrThreadSafe
    public class RateLimitManager
    extends Object
    implements ClusterPropertiesListener
    This class is responsible for managing rate limiting per request type. Rate limiters can be registered with this class against a corresponding type. There can be only one rate limiter associated with a request type.

    The actual rate limiting and the limits should be implemented in the corresponding RequestRateLimiter implementation. RateLimitManager is responsible for the orchestration but not the specifics of how the rate limiting is being done for a specific request type.