@Singleton @Requires(beans=HealthEndpoint.class) @Requires(property="endpoints.health.jdbc.enabled",notEquals="false") @Requires(classes=io.micronaut.jdbc.DataSourceResolver.class) @Requires(beans=javax.sql.DataSource.class) public class JdbcIndicator extends Object implements HealthIndicator
A HealthIndicator used to display information about the jdbc
 status.
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
| JdbcIndicator(ExecutorService executorService,
             DataSource[] dataSources,
             io.micronaut.jdbc.DataSourceResolver dataSourceResolver,
             HealthAggregator<?> healthAggregator) | 
public JdbcIndicator(@Named(value="io") ExecutorService executorService, DataSource[] dataSources, @Nullable io.micronaut.jdbc.DataSourceResolver dataSourceResolver, HealthAggregator<?> healthAggregator)
executorService - The executor servicedataSources - The data sourcesdataSourceResolver - The data source resolverhealthAggregator - The health aggregatorpublic Publisher<HealthResult> getResult()
getResult in interface HealthIndicatorHealthResult that provides the
 information necessary to build a response.