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.
Provider for rate limiters.
-
Method Summary
Modifier and TypeMethodDescriptionio.github.resilience4j.ratelimiter.RateLimiter
getRateLimiter
(ResilienceConfiguration configuration) 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.
-