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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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.CommonRateLimiterConfigurationProperties

    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 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