Class Neo4jHealthIndicator

java.lang.Object
org.springframework.boot.health.contributor.AbstractHealthIndicator
org.springframework.boot.neo4j.health.Neo4jHealthIndicator
All Implemented Interfaces:
org.springframework.boot.health.contributor.HealthContributor, org.springframework.boot.health.contributor.HealthIndicator

public class Neo4jHealthIndicator extends org.springframework.boot.health.contributor.AbstractHealthIndicator
HealthIndicator that tests the status of a Neo4j by executing a Cypher statement and extracting server and database information.
Since:
4.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    Neo4jHealthIndicator(org.neo4j.driver.Driver driver)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder)
     

    Methods inherited from class org.springframework.boot.health.contributor.AbstractHealthIndicator

    health

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.boot.health.contributor.HealthIndicator

    health
  • Constructor Details

    • Neo4jHealthIndicator

      public Neo4jHealthIndicator(org.neo4j.driver.Driver driver)
  • Method Details

    • doHealthCheck

      protected void doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder)
      Specified by:
      doHealthCheck in class org.springframework.boot.health.contributor.AbstractHealthIndicator