Class Neo4jHealthCheck
java.lang.Object
io.helidon.integrations.neo4j.health.Neo4jHealthCheck
- All Implemented Interfaces:
HealthCheck
Health support module for Neo4j (implements
HealthCheck).-
Constructor Summary
ConstructorsConstructorDescriptionNeo4jHealthCheck(org.neo4j.driver.Driver driver) Constructor for Health checks. -
Method Summary
Modifier and TypeMethodDescriptioncall()Call a health check.static Neo4jHealthCheckcreate(org.neo4j.driver.Driver driver) Creates the Neo4j driver.name()Name of this health check, used in output when details are requested.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.health.HealthCheck
path, type
-
Constructor Details
-
Neo4jHealthCheck
public Neo4jHealthCheck(org.neo4j.driver.Driver driver) Constructor for Health checks.- Parameters:
driver- Neo4j.
-
-
Method Details
-
create
Creates the Neo4j driver.- Parameters:
driver- Neo4j.- Returns:
- Neo4jHealthCheck.
-
name
Description copied from interface:HealthCheckName of this health check, used in output when details are requested.- Specified by:
namein interfaceHealthCheck- Returns:
- name of this health check, defaults to simple class name
-
call
Description copied from interface:HealthCheckCall a health check.- Specified by:
callin interfaceHealthCheck- Returns:
- health response
-