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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckResponse
call()
static Neo4jHealthCheck
create(org.neo4j.driver.Driver driver)
Creates the Neo4j driver.
-
-
-
Method Detail
-
create
public static Neo4jHealthCheck create(org.neo4j.driver.Driver driver)
Creates the Neo4j driver.- Parameters:
driver
- Neo4j.- Returns:
- Neo4jHealthCheck.
-
call
public HealthCheckResponse call()
- Specified by:
call
in interfaceHealthCheck
-
-