Class RateLimiterConfigurationProperties


  • public class RateLimiterConfigurationProperties
    extends io.github.resilience4j.common.ratelimiter.configuration.RateLimiterConfigurationProperties
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.github.resilience4j.common.ratelimiter.configuration.RateLimiterConfigurationProperties

        io.github.resilience4j.common.ratelimiter.configuration.RateLimiterConfigurationProperties.InstanceProperties
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
      void setRateLimiterAspectOrder​(int rateLimiterAspectOrder)
      set rate limiter aspect order
      • Methods inherited from class io.github.resilience4j.common.ratelimiter.configuration.RateLimiterConfigurationProperties

        createRateLimiterConfig, createRateLimiterConfig, findRateLimiterProperties, getConfigs, getInstanceProperties, getInstances, getLimiters
      • Methods inherited from class io.github.resilience4j.common.CommonProperties

        getTags, setTags
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RateLimiterConfigurationProperties

        public RateLimiterConfigurationProperties()
    • Method Detail

      • 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