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 typeB- 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 Summary
ConstructorsConstructorDescriptionCompositeReactiveHealthContributorConfiguration(Function<B, I> indicatorFactory) Creates aCompositeReactiveHealthContributorConfigurationthat will use the givenindicatorFactoryto createReactiveHealthIndicatorinstances. -
Method Summary
Modifier and TypeMethodDescriptionprotected final org.springframework.boot.actuate.health.ReactiveHealthContributorcreateComposite(Map<String, B> beans) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Constructor Details
-
CompositeReactiveHealthContributorConfiguration
Creates aCompositeReactiveHealthContributorConfigurationthat will use the givenindicatorFactoryto createReactiveHealthIndicatorinstances.- 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:
createCompositein classAbstractCompositeHealthContributorConfiguration<org.springframework.boot.actuate.health.ReactiveHealthContributor,I extends org.springframework.boot.actuate.health.ReactiveHealthIndicator, B>
-