Class MongoReactiveHealthIndicatorAutoConfiguration
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthIndicatorConfiguration<org.springframework.boot.actuate.mongo.MongoReactiveHealthIndicator,org.springframework.data.mongodb.core.ReactiveMongoTemplate>
- org.springframework.boot.actuate.autoconfigure.mongo.MongoReactiveHealthIndicatorAutoConfiguration
@Configuration @ConditionalOnClass({org.springframework.data.mongodb.core.ReactiveMongoTemplate.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(org.springframework.data.mongodb.core.ReactiveMongoTemplate.class) @ConditionalOnEnabledHealthIndicator("mongo") @AutoConfigureBefore(HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(org.springframework.boot.autoconfigure.data.mongo.MongoReactiveDataAutoConfiguration.class) public class MongoReactiveHealthIndicatorAutoConfiguration extends CompositeReactiveHealthIndicatorConfiguration<org.springframework.boot.actuate.mongo.MongoReactiveHealthIndicator,org.springframework.data.mongodb.core.ReactiveMongoTemplate>
Auto-configuration
forMongoReactiveHealthIndicator
.- Since:
- 2.1.0
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.actuate.health.ReactiveHealthIndicator
mongoHealthIndicator()
Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthIndicatorConfiguration
createHealthIndicator, createHealthIndicator
Method Detail
mongoHealthIndicator
@Bean @ConditionalOnMissingBean(name="mongoHealthIndicator") public org.springframework.boot.actuate.health.ReactiveHealthIndicator mongoHealthIndicator()