Class BulkheadConfigurationOnMissingBean
java.lang.Object
io.github.resilience4j.bulkhead.autoconfigure.AbstractBulkheadConfigurationOnMissingBean
io.github.resilience4j.bulkhead.autoconfigure.BulkheadConfigurationOnMissingBean
@Configuration
public class BulkheadConfigurationOnMissingBean
extends AbstractBulkheadConfigurationOnMissingBean
Configuration
for resilience4j-bulkhead.-
Field Summary
Fields inherited from class io.github.resilience4j.bulkhead.autoconfigure.AbstractBulkheadConfigurationOnMissingBean
bulkheadConfiguration, threadPoolBulkheadConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent>
The EventConsumerRegistry is used to manage EventConsumer instances.Methods inherited from class io.github.resilience4j.bulkhead.autoconfigure.AbstractBulkheadConfigurationOnMissingBean
bulkheadAspect, bulkheadRegistry, bulkheadRegistryEventConsumer, compositeBulkheadCustomizer, compositeThreadPoolBulkheadCustomizer, reactorBulkHeadAspectExt, rxJava2BulkHeadAspectExt, threadPoolBulkheadRegistry, threadPoolBulkheadRegistryEventConsumer
-
Constructor Details
-
BulkheadConfigurationOnMissingBean
public BulkheadConfigurationOnMissingBean()
-
-
Method Details
-
bulkheadEventConsumerRegistry
@Bean @ConditionalOnMissingBean(value=io.github.resilience4j.bulkhead.event.BulkheadEvent.class, parameterizedContainer=io.github.resilience4j.consumer.EventConsumerRegistry.class) public io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> bulkheadEventConsumerRegistry()The EventConsumerRegistry is used to manage EventConsumer instances. The EventConsumerRegistry is used by the BulkheadHealthIndicator to show the latest Bulkhead events for each Bulkhead instance.- Returns:
- a default EventConsumerRegistry
DefaultEventConsumerRegistry
-