Class ThreadPoolBulkheadFactory

java.lang.Object
io.github.resilience4j.micronaut.bulkhead.ThreadPoolBulkheadFactory

@Factory @Requires(property="resilience4j.thread-pool-bulkhead.enabled", value="true", defaultValue="false") public class ThreadPoolBulkheadFactory extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.bulkhead.configuration.ThreadPoolBulkheadConfigCustomizer>
    compositeThreadPoolBulkheadCustomizer(List<io.github.resilience4j.common.bulkhead.configuration.ThreadPoolBulkheadConfigCustomizer> customizers)
     
    io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent>
     
    io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry
    threadPoolBulkheadRegistry(io.github.resilience4j.common.bulkhead.configuration.CommonThreadPoolBulkheadConfigurationProperties bulkheadConfigurationProperties, io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> bulkheadEventConsumerRegistry, io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.ThreadPoolBulkhead> threadPoolBulkheadRegistryEventConsumer, io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.bulkhead.configuration.ThreadPoolBulkheadConfigCustomizer> compositeThreadPoolBulkheadCustomizer)
     
    io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.ThreadPoolBulkhead>
    threadPoolBulkheadRegistryEventConsumer(Optional<List<io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.ThreadPoolBulkhead>>> optionalRegistryEventConsumers)
     

    Methods inherited from class java.lang.Object

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

    • ThreadPoolBulkheadFactory

      public ThreadPoolBulkheadFactory()
  • Method Details

    • compositeThreadPoolBulkheadCustomizer

      @Bean public io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.bulkhead.configuration.ThreadPoolBulkheadConfigCustomizer> compositeThreadPoolBulkheadCustomizer(List<io.github.resilience4j.common.bulkhead.configuration.ThreadPoolBulkheadConfigCustomizer> customizers)
    • threadPoolBulkheadRegistry

      @Singleton @Requires(beans=io.github.resilience4j.common.bulkhead.configuration.CommonThreadPoolBulkheadConfigurationProperties.class) public io.github.resilience4j.bulkhead.ThreadPoolBulkheadRegistry threadPoolBulkheadRegistry(io.github.resilience4j.common.bulkhead.configuration.CommonThreadPoolBulkheadConfigurationProperties bulkheadConfigurationProperties, io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> bulkheadEventConsumerRegistry, io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.ThreadPoolBulkhead> threadPoolBulkheadRegistryEventConsumer, io.github.resilience4j.common.CompositeCustomizer<io.github.resilience4j.common.bulkhead.configuration.ThreadPoolBulkheadConfigCustomizer> compositeThreadPoolBulkheadCustomizer)
    • threadPoolBulkheadRegistryEventConsumer

      @Bean @Primary public io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.ThreadPoolBulkhead> threadPoolBulkheadRegistryEventConsumer(Optional<List<io.github.resilience4j.core.registry.RegistryEventConsumer<io.github.resilience4j.bulkhead.ThreadPoolBulkhead>>> optionalRegistryEventConsumers)
    • threadPoolBulkheadEventsConsumerRegistry

      @Bean public io.github.resilience4j.consumer.EventConsumerRegistry<io.github.resilience4j.bulkhead.event.BulkheadEvent> threadPoolBulkheadEventsConsumerRegistry()