Class RetryConfigurationProperties

java.lang.Object
io.github.resilience4j.common.CommonProperties
io.github.resilience4j.common.retry.configuration.CommonRetryConfigurationProperties
io.github.resilience4j.retry.configure.RetryConfigurationProperties

public class RetryConfigurationProperties extends io.github.resilience4j.common.retry.configuration.CommonRetryConfigurationProperties
Main spring properties for retry configuration
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.github.resilience4j.common.retry.configuration.CommonRetryConfigurationProperties

    io.github.resilience4j.common.retry.configuration.CommonRetryConfigurationProperties.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 the 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
    setRetryAspectOrder(int retryAspectOrder)
    set retry aspect order

    Methods inherited from class io.github.resilience4j.common.retry.configuration.CommonRetryConfigurationProperties

    createRetryConfig, createRetryConfig, getBackendProperties, getBackends, getConfigs, getInstances

    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

    • RetryConfigurationProperties

      public RetryConfigurationProperties()
  • Method Details

    • getRetryAspectOrder

      public int getRetryAspectOrder()
      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 the 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
    • setRetryAspectOrder

      public void setRetryAspectOrder(int retryAspectOrder)
      set retry aspect order
      Parameters:
      retryAspectOrder - retry aspect target order