public final class Neo4jReactiveHealthIndicator extends AbstractReactiveHealthIndicator
ReactiveHealthIndicator
that tests the status of a Neo4j by executing a Cypher
statement and extracting server and database information.Constructor and Description |
---|
Neo4jReactiveHealthIndicator(org.neo4j.driver.Driver driver) |
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 Neo4jReactiveHealthIndicator(org.neo4j.driver.Driver driver)
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