@Requires(beans=io.micronaut.management.endpoint.health.HealthEndpoint.class) @Requires(property="endpoints.health.vertx.mysql.client.enabled",notEquals="false") @Singleton public class MySQLHealthIndicator extends Object implements io.micronaut.management.health.indicator.HealthIndicator
HealthIndicator
for Vertx MySQL client.Constructor and Description |
---|
MySQLHealthIndicator(io.vertx.reactivex.mysqlclient.MySQLPool client)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> |
getResult() |
public static final String NAME
public static final String QUERY