Class CompositeReactiveHealthContributorConfiguration<I extends ReactiveHealthIndicator,B>
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<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 ReactiveHealthIndicator,B>
extends AbstractCompositeHealthContributorConfiguration<ReactiveHealthContributor,I,B>
Base class for health contributor configurations that can combine source beans into a
composite.
- Since:
- 2.2.0
- Author:
- Stephane Nicoll, Phillip Webb
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.CompositeReactiveHealthContributorConfiguration(Function<B, I> indicatorFactory) Creates aCompositeReactiveHealthContributorConfigurationthat will use the givenindicatorFactoryto createReactiveHealthIndicatorinstances. -
Method Summary
Modifier and TypeMethodDescriptionprotected final ReactiveHealthContributorcreateComposite(Map<String, B> beans) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Constructor Details
-
CompositeReactiveHealthContributorConfiguration
@Deprecated(since="3.0.0", forRemoval=true) public CompositeReactiveHealthContributorConfiguration()Deprecated, for removal: This API element is subject to removal in a future version.since 3.0.0 in favor ofCompositeReactiveHealthContributorConfiguration(Function)Creates aCompositeReactiveHealthContributorConfigurationthat will use reflection to createReactiveHealthIndicatorinstances. -
CompositeReactiveHealthContributorConfiguration
Creates aCompositeReactiveHealthContributorConfigurationthat will use the givenindicatorFactoryto createReactiveHealthIndicatorinstances.- Parameters:
indicatorFactory- the function to create health indicator instances- Since:
- 3.0.0
-
-
Method Details
-
createComposite
- Specified by:
createCompositein classAbstractCompositeHealthContributorConfiguration<ReactiveHealthContributor,I extends ReactiveHealthIndicator, B>
-
CompositeReactiveHealthContributorConfiguration(Function)