@Requires(classes=HealthIndicator.class) @Singleton public class Neo4jHealthIndicator extends Object implements HealthIndicator
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
Neo4jHealthIndicator(org.neo4j.driver.v1.Driver boltDriver)
Constructor.
|
public static final String NAME
public Neo4jHealthIndicator(org.neo4j.driver.v1.Driver boltDriver)
boltDriver - driverpublic Publisher<HealthResult> getResult()
getResult in interface HealthIndicatorHealthResult that provides the
information necessary to build a response.