java.lang.Object
io.helidon.integrations.neo4j.health.Neo4jHealthCheck
All Implemented Interfaces:
HealthCheck

public class Neo4jHealthCheck extends Object implements HealthCheck
Health support module for Neo4j (implements HealthCheck).
  • Constructor Details

    • Neo4jHealthCheck

      public Neo4jHealthCheck(org.neo4j.driver.Driver driver)
      Constructor for Health checks.
      Parameters:
      driver - Neo4j.
  • Method Details

    • create

      public static Neo4jHealthCheck create(org.neo4j.driver.Driver driver)
      Creates the Neo4j driver.
      Parameters:
      driver - Neo4j.
      Returns:
      Neo4jHealthCheck.
    • name

      public String name()
      Description copied from interface: HealthCheck
      Name of this health check, used in output when details are requested.
      Specified by:
      name in interface HealthCheck
      Returns:
      name of this health check, defaults to simple class name
    • call

      public HealthCheckResponse call()
      Description copied from interface: HealthCheck
      Call a health check.
      Specified by:
      call in interface HealthCheck
      Returns:
      health response