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 -
Method Summary
Modifier and TypeMethodDescriptionio.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.RetryRegistrycreateRetryRegistry(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)
-
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
-