@Requires(beans=io.micronaut.management.endpoint.health.HealthEndpoint.class) @Requires(property="endpoints.health.vertx.mysql.client.enabled",notEquals="false")
@Singleton
public class MySQLHealthIndicator
extends java.lang.Object
implements io.micronaut.management.health.indicator.HealthIndicator
HealthIndicator
for Vertx MySQL client.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
static java.lang.String |
QUERY |
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 java.lang.String NAME
public static final java.lang.String QUERY