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
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 © 2019 Pivotal Software, Inc.. All rights reserved.