Class RateLimiterConfigurationProperties
java.lang.Object
io.github.resilience4j.common.CommonProperties
io.github.resilience4j.common.ratelimiter.configuration.RateLimiterConfigurationProperties
io.github.resilience4j.ratelimiter.configure.RateLimiterConfigurationProperties
public class RateLimiterConfigurationProperties
extends io.github.resilience4j.common.ratelimiter.configuration.RateLimiterConfigurationProperties
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description RateLimiterConfigurationProperties() -
Method Summary
Modifier and Type Method Description intgetRateLimiterAspectOrder()As of release 0.16.0 as we set an implicit spring aspect order now which is retry then circuit breaker then rate limiter then bulkhead but user can override it still if he has different use case but bulkhead will be first aspect all the time due to the implicit order we have it for bulkheadvoidsetRateLimiterAspectOrder(int rateLimiterAspectOrder)set rate limiter aspect order
-
Constructor Details
-
RateLimiterConfigurationProperties
public RateLimiterConfigurationProperties()
-
-
Method Details
-
getRateLimiterAspectOrder
public int getRateLimiterAspectOrder()As of release 0.16.0 as we set an implicit spring aspect order now which is retry then circuit breaker then rate limiter then bulkhead but user can override it still if he has different use case but bulkhead will be first aspect all the time due to the implicit order we have it for bulkhead -
setRateLimiterAspectOrder
public void setRateLimiterAspectOrder(int rateLimiterAspectOrder)set rate limiter aspect order- Parameters:
rateLimiterAspectOrder- the aspect order
-