Interface RateLimiterProvider


public interface RateLimiterProvider
Service Provider Interface (SPI) for custom rate-limiting strategies.

Implement this interface to provide custom rate-limiting implementations.

  • Method Details

    • getStrategyName

      String getStrategyName()
      Returns the name of the rate-limiting strategy.
      Returns:
      the strategy name
    • createStrategy

      RateLimitStrategy createStrategy()
      Creates a new instance of the rate-limiting strategy.
      Returns:
      the rate-limiting strategy