Class MongoReactiveHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<ReactiveHealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration<MongoReactiveHealthIndicator,org.springframework.data.mongodb.core.ReactiveMongoTemplate>
org.springframework.boot.actuate.autoconfigure.mongo.MongoReactiveHealthContributorAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass({org.springframework.data.mongodb.core.ReactiveMongoTemplate.class,reactor.core.publisher.Flux.class})
@ConditionalOnBean(org.springframework.data.mongodb.core.ReactiveMongoTemplate.class)
@ConditionalOnEnabledHealthIndicator("mongo")
@AutoConfigureAfter(MongoReactiveDataAutoConfiguration.class)
public class MongoReactiveHealthContributorAutoConfiguration
extends CompositeReactiveHealthContributorConfiguration<MongoReactiveHealthIndicator,org.springframework.data.mongodb.core.ReactiveMongoTemplate>
- Since:
- 2.1.0
- Author:
- Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmongoHealthContributor
(Map<String, org.springframework.data.mongodb.core.ReactiveMongoTemplate> reactiveMongoTemplates) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration
createComposite
Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Constructor Details
-
MongoReactiveHealthContributorAutoConfiguration
public MongoReactiveHealthContributorAutoConfiguration()
-
-
Method Details
-
mongoHealthContributor
@Bean @ConditionalOnMissingBean(name={"mongoHealthIndicator","mongoHealthContributor"}) public ReactiveHealthContributor mongoHealthContributor(Map<String, org.springframework.data.mongodb.core.ReactiveMongoTemplate> reactiveMongoTemplates)
-