Class MajDataSourceHealthIndicator

java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
com.majorana.maj_orm.DBs.MajDataSourceHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthIndicator

@Service public class MajDataSourceHealthIndicator extends org.springframework.boot.actuate.health.AbstractHealthIndicator
Used with Spring DB Health Indicators, to show weather the database connections are active
  • Method Details

    • doHealthCheck

      public void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) throws Exception
      Specified by:
      doHealthCheck in class org.springframework.boot.actuate.health.AbstractHealthIndicator
      Throws:
      Exception