@Requires(beans=io.micronaut.management.endpoint.health.HealthEndpoint.class) @Requires(property="endpoints.health.postgres.reactive.enabled",notEquals="false") @Singleton public class PgPoolHealthIndicator extends Object implements io.micronaut.management.health.indicator.HealthIndicator
HealthIndicator
for reactive Postgres client.Constructor and Description |
---|
PgPoolHealthIndicator(io.reactiverse.reactivex.pgclient.PgPool 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