Class CompositeReactiveHealthContributorConfiguration<I extends org.springframework.boot.actuate.health.ReactiveHealthIndicator,B>

java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<org.springframework.boot.actuate.health.ReactiveHealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration<I,B>
Type Parameters:
I - the health indicator type
B - the bean type
Direct Known Subclasses:
ConnectionFactoryHealthContributorAutoConfiguration, CouchbaseReactiveHealthContributorAutoConfiguration, ElasticsearchReactiveHealthContributorAutoConfiguration, MongoReactiveHealthContributorAutoConfiguration, RedisReactiveHealthContributorAutoConfiguration

public abstract class CompositeReactiveHealthContributorConfiguration<I extends org.springframework.boot.actuate.health.ReactiveHealthIndicator,B> extends AbstractCompositeHealthContributorConfiguration<org.springframework.boot.actuate.health.ReactiveHealthContributor,I,B>
Base class for health contributor configurations that can combine source beans into a composite.
Since:
2.2.0
  • Constructor Details

    • CompositeReactiveHealthContributorConfiguration

      public CompositeReactiveHealthContributorConfiguration(Function<B,I> indicatorFactory)
      Creates a CompositeReactiveHealthContributorConfiguration that will use the given indicatorFactory to create ReactiveHealthIndicator instances.
      Parameters:
      indicatorFactory - the function to create health indicator instances
      Since:
      3.0.0
  • Method Details

    • createComposite

      protected final org.springframework.boot.actuate.health.ReactiveHealthContributor createComposite(Map<String,B> beans)
      Specified by:
      createComposite in class AbstractCompositeHealthContributorConfiguration<org.springframework.boot.actuate.health.ReactiveHealthContributor,I extends org.springframework.boot.actuate.health.ReactiveHealthIndicator,B>