Class JasyncHealthIndicator
java.lang.Object
io.micronaut.configuration.jasync.health.JasyncHealthIndicator
- All Implemented Interfaces:
 io.micronaut.core.order.Ordered,io.micronaut.management.health.indicator.HealthIndicator
@Requires(beans=io.micronaut.management.endpoint.health.HealthEndpoint.class) @Requires(property="endpoints.health.jasync.enabled",notEquals="false")
@Singleton
public class JasyncHealthIndicator
extends Object
implements io.micronaut.management.health.indicator.HealthIndicator
A  
HealthIndicator for reactive Postgres client.- Since:
 - 1.0
 - Author:
 - puneetbehl
 
- 
Field Summary
FieldsFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE - 
Constructor Summary
ConstructorsConstructorDescriptionJasyncHealthIndicator(com.github.jasync.sql.db.Connection client) Constructor. - 
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.order.Ordered
getOrder 
- 
Field Details
- 
NAME
- See Also:
 
 - 
QUERY
- See Also:
 
 
 - 
 - 
Constructor Details
- 
JasyncHealthIndicator
public JasyncHealthIndicator(com.github.jasync.sql.db.Connection client) Constructor.- Parameters:
 client- A pool of connections.
 
 - 
 - 
Method Details
- 
getResult
public org.reactivestreams.Publisher<io.micronaut.management.health.indicator.HealthResult> getResult()- Specified by:
 getResultin interfaceio.micronaut.management.health.indicator.HealthIndicator
 
 -