Package io.quarkus.agroal.runtime.health
Class DataSourceHealthCheck
java.lang.Object
io.quarkus.agroal.runtime.health.DataSourceHealthCheck
- All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck
@Readiness
@ApplicationScoped
public class DataSourceHealthCheck
extends Object
implements org.eclipse.microprofile.health.HealthCheck
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) jakarta.enterprise.inject.Instance<AgroalDataSourceSupport>(package private) jakarta.enterprise.inject.Instance<DataSourceSupport> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
dataSourceSupport
-
agroalDataSourceSupport
-
-
Constructor Details
-
DataSourceHealthCheck
public DataSourceHealthCheck()
-
-
Method Details
-
init
@PostConstruct protected void init() -
call
public org.eclipse.microprofile.health.HealthCheckResponse call()- Specified by:
callin interfaceorg.eclipse.microprofile.health.HealthCheck
-