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 Details

    • dataSources

      @Inject jakarta.enterprise.inject.Instance<DataSources> dataSources
  • Constructor Details

    • DataSourceHealthCheck

      public DataSourceHealthCheck()
  • Method Details

    • init

      @PostConstruct protected void init()
    • call

      public org.eclipse.microprofile.health.HealthCheckResponse call()
      Specified by:
      call in interface org.eclipse.microprofile.health.HealthCheck