public class Neo4jHealthIndicator extends AbstractHealthIndicator
HealthIndicator
that tests the status of a Neo4j by executing a Cypher
statement and extracting server and database information.Constructor and Description |
---|
Neo4jHealthIndicator(org.neo4j.driver.Driver driver) |
Modifier and Type | Method and Description |
---|---|
protected void |
doHealthCheck(Health.Builder builder)
Actual health check logic.
|
health
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHealth
protected void doHealthCheck(Health.Builder builder)
AbstractHealthIndicator
doHealthCheck
in class AbstractHealthIndicator
builder
- the Health.Builder
to report health status and details