Class AbstractRetryConfigurationOnMissingBean

java.lang.Object
io.github.resilience4j.retry.autoconfigure.AbstractRetryConfigurationOnMissingBean
Direct Known Subclasses:
RetryConfigurationOnMissingBean

@Configuration @Import({FallbackConfigurationOnMissingBean.class,SpelResolverConfigurationOnMissingBean.class}) public abstract class AbstractRetryConfigurationOnMissingBean extends Object
Configuration for resilience4j-retry.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final io.github.resilience4j.retry.configure.RetryConfiguration
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer>
    compositeRetryCustomizer(List<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer> configCustomizers)
     
    io.github.resilience4j.retry.configure.ReactorRetryAspectExt
     
    io.github.resilience4j.retry.configure.RetryAspect
    retryAspect(io.github.resilience4j.retry.configure.RetryConfigurationProperties retryConfigurationProperties, io.github.resilience4j.retry.RetryRegistry retryRegistry, List<io.github.resilience4j.retry.configure.RetryAspectExt> retryAspectExtList, io.github.resilience4j.fallback.FallbackExecutor fallbackExecutor, io.github.resilience4j.spelresolver.SpelResolver spelResolver, io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor contextAwareScheduledThreadPoolExecutor)
     
    io.github.resilience4j.retry.RetryRegistry
    retryRegistry(io.github.resilience4j.retry.configure.RetryConfigurationProperties retryConfigurationProperties, io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.retry.event.RetryEvent> retryEventConsumerRegistry, io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.retry.Retry> retryRegistryEventConsumer, io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer> compositeRetryCustomizer)
     
    io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.retry.Retry>
    retryRegistryEventConsumer(Optional<List<io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.retry.Retry>>> optionalRegistryEventConsumers)
     
    io.github.resilience4j.retry.configure.RxJava2RetryAspectExt
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • retryConfiguration

      protected final io.github.resilience4j.retry.configure.RetryConfiguration retryConfiguration
  • Constructor Details

    • AbstractRetryConfigurationOnMissingBean

      public AbstractRetryConfigurationOnMissingBean()
  • Method Details

    • compositeRetryCustomizer

      @Bean @Qualifier("compositeRetryCustomizer") @ConditionalOnMissingBean(name="compositeRetryCustomizer") public io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer> compositeRetryCustomizer(@Autowired(required=false) List<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer> configCustomizers)
    • retryRegistry

      @Bean @ConditionalOnMissingBean public io.github.resilience4j.retry.RetryRegistry retryRegistry(io.github.resilience4j.retry.configure.RetryConfigurationProperties retryConfigurationProperties, io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.retry.event.RetryEvent> retryEventConsumerRegistry, io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.retry.Retry> retryRegistryEventConsumer, @Qualifier("compositeRetryCustomizer") io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer> compositeRetryCustomizer)
      Parameters:
      retryConfigurationProperties - retryConfigurationProperties retry configuration spring properties
      retryEventConsumerRegistry - the event retry registry
      Returns:
      the retry definition registry
    • retryRegistryEventConsumer

      @Bean @Primary public io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.retry.Retry> retryRegistryEventConsumer(Optional<List<io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.retry.Retry>>> optionalRegistryEventConsumers)
    • retryAspect

      @Bean @Conditional(io.github.resilience4j.utils.AspectJOnClasspathCondition.class) @ConditionalOnMissingBean public io.github.resilience4j.retry.configure.RetryAspect retryAspect(io.github.resilience4j.retry.configure.RetryConfigurationProperties retryConfigurationProperties, io.github.resilience4j.retry.RetryRegistry retryRegistry, @Autowired(required=false) List<io.github.resilience4j.retry.configure.RetryAspectExt> retryAspectExtList, io.github.resilience4j.fallback.FallbackExecutor fallbackExecutor, io.github.resilience4j.spelresolver.SpelResolver spelResolver, @Autowired(required=false) io.github.resilience4j.core.ContextAwareScheduledThreadPoolExecutor contextAwareScheduledThreadPoolExecutor)
      Parameters:
      retryConfigurationProperties - retry configuration spring properties
      retryRegistry - retry in memory registry
      Returns:
      the spring retry AOP aspect
    • rxJava2RetryAspectExt

      @Bean @Conditional({io.github.resilience4j.utils.RxJava2OnClasspathCondition.class,io.github.resilience4j.utils.AspectJOnClasspathCondition.class}) @ConditionalOnMissingBean public io.github.resilience4j.retry.configure.RxJava2RetryAspectExt rxJava2RetryAspectExt()
    • reactorRetryAspectExt

      @Bean @Conditional({io.github.resilience4j.utils.ReactorOnClasspathCondition.class,io.github.resilience4j.utils.AspectJOnClasspathCondition.class}) @ConditionalOnMissingBean public io.github.resilience4j.retry.configure.ReactorRetryAspectExt reactorRetryAspectExt()