Class RetryRegistryFactory

java.lang.Object
io.github.resilience4j.micronaut.retry.RetryRegistryFactory

@Factory @Requires(property="resilience4j.retry.enabled", value="true", defaultValue="false") public class RetryRegistryFactory extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer>
    compositeTimeLimiterCustomizer(List<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer> configCustomizers)
     
    io.github.resilience4j.retry.RetryRegistry
    createRetryRegistry(io.github.resilience4j.common.retry.configuration.CommonRetryConfigurationProperties 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.consumer.EventConsumerRegistry<io.github.resilience4j.retry.event.RetryEvent>
     
    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)
     

    Methods inherited from class java.lang.Object

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

    • RetryRegistryFactory

      public RetryRegistryFactory()
  • Method Details

    • compositeTimeLimiterCustomizer

      @Bean public io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer> compositeTimeLimiterCustomizer(@Nullable List<io.github.resilience4j.common.retry.configuration.RetryConfigCustomizer> configCustomizers)
    • createRetryRegistry

      @Singleton @Requires(beans=io.github.resilience4j.common.retry.configuration.CommonRetryConfigurationProperties.class) public io.github.resilience4j.retry.RetryRegistry createRetryRegistry(io.github.resilience4j.common.retry.configuration.CommonRetryConfigurationProperties 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)
    • retryEventEventConsumerRegistry

      @Bean public io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.retry.event.RetryEvent> retryEventEventConsumerRegistry()
    • 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)