Class Neo4jHealthCheck
java.lang.Object
io.helidon.integrations.neo4j.health.Neo4jHealthCheck
- All Implemented Interfaces:
HealthCheck
@Readiness
@ApplicationScoped
@BuiltInHealthCheck
public class Neo4jHealthCheck
extends Object
implements HealthCheck
Health support module for Neo4j. Follows the standard MicroProfile HealthCheck pattern.
-
Method Summary
Modifier and TypeMethodDescriptioncall()
static Neo4jHealthCheck
create
(org.neo4j.driver.Driver driver) Creates the Neo4j driver.
-
Method Details
-
create
Creates the Neo4j driver.- Parameters:
driver
- Neo4j.- Returns:
- Neo4jHealthCheck.
-
call
- Specified by:
call
in interfaceHealthCheck
-