Interface RateLimiterProvider

All Known Implementing Classes:
DefaultRateLimiterProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RateLimiterProvider
Provider for rate limiters.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.github.resilience4j.ratelimiter.RateLimiter
    Provides a rate limiter.
  • Method Details

    • getRateLimiter

      @Nonnull io.github.resilience4j.ratelimiter.RateLimiter getRateLimiter(@Nonnull ResilienceConfiguration configuration)
      Provides a rate limiter.
      Parameters:
      configuration - The configuration for constructing the rate limiter.
      Returns:
      A rate limiter.