Class RefreshScopeHealthIndicator

  • All Implemented Interfaces:
    org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

    public class RefreshScopeHealthIndicator
    extends org.springframework.boot.actuate.health.AbstractHealthIndicator
    Health indicator for the refresh scope and configuration properties rebinding. If an environment change causes a bean to fail in instantiate or bind, this indicator will generally say what the problem was and switch to DOWN.
    Author:
    Dave Syer
    • Method Detail

      • doHealthCheck

        protected 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