Class BulkHeadRegistryFactory
java.lang.Object
io.github.resilience4j.micronaut.bulkhead.BulkHeadRegistryFactory
@Factory
@Requires(property="resilience4j.bulkhead.enabled",
value="true",
defaultValue="false")
public class BulkHeadRegistryFactory
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent>io.github.resilience4j.bulkhead.BulkheadRegistrybulkheadRegistry(io.github.resilience4j.common.bulkhead.configuration.CommonBulkheadConfigurationProperties bulkheadConfigurationProperties, io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> bulkheadEventConsumerRegistry, io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.Bulkhead> bulkheadRegistryEventConsumer, io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.bulkhead.configuration.BulkheadConfigCustomizer> compositeBulkheadCustomizer) io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.Bulkhead>bulkheadRegistryEventConsumer(Optional<List<io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.Bulkhead>>> optionalRegistryEventConsumers) io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.bulkhead.configuration.BulkheadConfigCustomizer>composeBulkheadCustomizer(List<io.github.resilience4j.common.bulkhead.configuration.BulkheadConfigCustomizer> configCustomizers)
-
Constructor Details
-
BulkHeadRegistryFactory
public BulkHeadRegistryFactory()
-
-
Method Details
-
composeBulkheadCustomizer
@Bean public io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.bulkhead.configuration.BulkheadConfigCustomizer> composeBulkheadCustomizer(@Nullable List<io.github.resilience4j.common.bulkhead.configuration.BulkheadConfigCustomizer> configCustomizers) -
bulkheadRegistry
@Singleton @Requires(beans=BulkheadProperties.class) public io.github.resilience4j.bulkhead.BulkheadRegistry bulkheadRegistry(io.github.resilience4j.common.bulkhead.configuration.CommonBulkheadConfigurationProperties bulkheadConfigurationProperties, io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> bulkheadEventConsumerRegistry, io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.Bulkhead> bulkheadRegistryEventConsumer, io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.bulkhead.configuration.BulkheadConfigCustomizer> compositeBulkheadCustomizer) -
bulkheadRegistryEventConsumer
@Bean @Primary public io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.Bulkhead> bulkheadRegistryEventConsumer(Optional<List<io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.Bulkhead>>> optionalRegistryEventConsumers) -
bulkheadEventsConsumerRegistry
@Bean public io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> bulkheadEventsConsumerRegistry()
-