Class RateLimiterConfigurationProperties
java.lang.Object
io.github.resilience4j.common.CommonProperties
io.github.resilience4j.common.ratelimiter.configuration.CommonRateLimiterConfigurationProperties
io.github.resilience4j.ratelimiter.configure.RateLimiterConfigurationProperties
public class RateLimiterConfigurationProperties
extends io.github.resilience4j.common.ratelimiter.configuration.CommonRateLimiterConfigurationProperties
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.resilience4j.common.ratelimiter.configuration.CommonRateLimiterConfigurationProperties
io.github.resilience4j.common.ratelimiter.configuration.CommonRateLimiterConfigurationProperties.InstanceProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
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 bulkheadvoid
setRateLimiterAspectOrder
(int rateLimiterAspectOrder) set rate limiter aspect orderMethods inherited from class io.github.resilience4j.common.ratelimiter.configuration.CommonRateLimiterConfigurationProperties
createRateLimiterConfig, createRateLimiterConfig, findRateLimiterProperties, getConfigs, getInstanceProperties, getInstances, getLimiters
Methods inherited from class io.github.resilience4j.common.CommonProperties
getTags, setTags
-
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
-