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