@Requires(beans=io.micronaut.management.endpoint.health.HealthEndpoint.class) @Requires(property="endpoints.health.jasync.enabled",notEquals="false")
@Singleton
public class JasyncHealthIndicator
extends java.lang.Object
implements io.micronaut.management.health.indicator.HealthIndicator
HealthIndicator
for reactive Postgres client.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
static java.lang.String |
QUERY |
Constructor and Description |
---|
JasyncHealthIndicator(com.github.jasync.sql.db.Connection 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