public class MongoReactiveHealthIndicator extends AbstractReactiveHealthIndicator
ReactiveHealthIndicator
for Mongo.Constructor and Description |
---|
MongoReactiveHealthIndicator(org.springframework.data.mongodb.core.ReactiveMongoTemplate reactiveMongoTemplate) |
Modifier and Type | Method and Description |
---|---|
protected reactor.core.publisher.Mono<Health> |
doHealthCheck(Health.Builder builder)
Actual health check logic.
|
health
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHealth
adapt
public MongoReactiveHealthIndicator(org.springframework.data.mongodb.core.ReactiveMongoTemplate reactiveMongoTemplate)
protected reactor.core.publisher.Mono<Health> doHealthCheck(Health.Builder builder)
AbstractReactiveHealthIndicator
doHealthCheck
in class AbstractReactiveHealthIndicator
builder
- the Health.Builder
to report health status and detailsMono
that provides the Health
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.