Class RateLimitingAspect

java.lang.Object
com.netcetera.girders.ratelimit.support.RateLimitingAspect

public class RateLimitingAspect extends Object
Aspect for applying a rate limit.
  • Constructor Details

    • RateLimitingAspect

      public RateLimitingAspect(RateLimitValuesRetriever rateLimitValuesRetriever, List<RateLimitKeyResolver> rateLimitKeyResolvers, io.micrometer.core.instrument.MeterRegistry meterRegistry, boolean enableMeterRegistry)
      Constructor.
      Parameters:
      rateLimitValuesRetriever - Retriever for rate limit values
      rateLimitKeyResolvers - Resolver for rate limit keys
      meterRegistry - Meter registry (optional)
  • Method Details