Class Neo4jHealthCheck
java.lang.Object
io.helidon.integrations.neo4j.health.Neo4jHealthCheck
- All Implemented Interfaces:
HealthCheck
Health support module for Neo4j (implements
HealthCheck
).-
Constructor Summary
ConstructorDescriptionNeo4jHealthCheck
(org.neo4j.driver.Driver driver) Constructor for Health checks. -
Method Summary
Modifier and TypeMethodDescriptioncall()
Call a health check.static Neo4jHealthCheck
create
(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, wait
Methods 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:HealthCheck
Name of this health check, used in output when details are requested.- Specified by:
name
in interfaceHealthCheck
- Returns:
- name of this health check, defaults to simple class name
-
call
Description copied from interface:HealthCheck
Call a health check.- Specified by:
call
in interfaceHealthCheck
- Returns:
- health response
-