Class RefreshScopeHealthIndicator

java.lang.Object
org.springframework.boot.health.contributor.AbstractHealthIndicator
org.springframework.cloud.health.RefreshScopeHealthIndicator
All Implemented Interfaces:
org.springframework.boot.health.contributor.HealthContributor, org.springframework.boot.health.contributor.HealthIndicator

public class RefreshScopeHealthIndicator extends org.springframework.boot.health.contributor.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
  • Constructor Details

  • Method Details

    • doHealthCheck

      protected void doHealthCheck(org.springframework.boot.health.contributor.Health.Builder builder)
      Specified by:
      doHealthCheck in class org.springframework.boot.health.contributor.AbstractHealthIndicator