Class Neo4jHealthIndicator

java.lang.Object
io.micronaut.neo4j.bolt.health.Neo4jHealthIndicator
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.management.health.indicator.HealthIndicator

@Requires(classes=io.micronaut.management.health.indicator.HealthIndicator.class) @Singleton public class Neo4jHealthIndicator extends Object implements io.micronaut.management.health.indicator.HealthIndicator
A Health Indicator for Neo4j.
Since:
1.0
Author:
graemerocher
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Neo4jHealthIndicator(org.neo4j.driver.Driver boltDriver, ExecutorService ioExecutor)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult>
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder
  • Field Details

  • Constructor Details

    • Neo4jHealthIndicator

      public Neo4jHealthIndicator(org.neo4j.driver.Driver boltDriver, @Named("io") ExecutorService ioExecutor)
      Constructor.
      Parameters:
      boltDriver - driver
      ioExecutor - The IO executor
  • Method Details

    • getResult

      public org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> getResult()
      Specified by:
      getResult in interface io.micronaut.management.health.indicator.HealthIndicator