Class MongoHealthIndicator
java.lang.Object
io.micronaut.configuration.mongo.reactive.health.MongoHealthIndicator
- All Implemented Interfaces:
- io.micronaut.core.order.Ordered,- io.micronaut.management.health.indicator.HealthIndicator
@Singleton
@Requires(beans=com.mongodb.reactivestreams.client.MongoClient.class) @Requires(beans=io.micronaut.management.endpoint.health.HealthEndpoint.class) @Requires(property="endpoints.health.mongodb.enabled",notEquals="false")
public class MongoHealthIndicator
extends Object
implements io.micronaut.management.health.indicator.HealthIndicator
A 
HealthIndicator for MongoDB.- Since:
- 1.0
- Author:
- graemerocher
- 
Field SummaryFields inherited from interface io.micronaut.core.order.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructorsConstructorDescriptionMongoHealthIndicator(io.micronaut.context.BeanContext beanContext, io.micronaut.management.health.aggregator.HealthAggregator<?> healthAggregator, com.mongodb.reactivestreams.client.MongoClient... mongoClients) 
- 
Method SummaryModifier and TypeMethodDescriptionorg.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult>Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.order.OrderedgetOrder
- 
Constructor Details- 
MongoHealthIndicatorpublic MongoHealthIndicator(io.micronaut.context.BeanContext beanContext, io.micronaut.management.health.aggregator.HealthAggregator<?> healthAggregator, com.mongodb.reactivestreams.client.MongoClient... mongoClients) - Parameters:
- beanContext- beanContext
- healthAggregator- healthAggregator
- mongoClients- The mongo clients
 
 
- 
- 
Method Details- 
getResultpublic org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> getResult()- Specified by:
- getResultin interface- io.micronaut.management.health.indicator.HealthIndicator
 
 
-