Class DataSourceHealthIndicator

java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.boot.actuate.jdbc.DataSourceHealthIndicator
All Implemented Interfaces:
InitializingBean, HealthContributor, HealthIndicator

public class DataSourceHealthIndicator extends AbstractHealthIndicator implements InitializingBean
HealthIndicator that tests the status of a DataSource and optionally runs a test query.
Since:
2.0.0
Author:
Dave Syer, Christian Dupuis, Andy Wilkinson, Stephane Nicoll, Arthur Kalimullin