Class GeodeIndexesHealthIndicator

java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
org.springframework.geode.boot.actuate.GeodeIndexesHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

public class GeodeIndexesHealthIndicator extends AbstractGeodeHealthIndicator
The GeodeIndexesHealthIndicator class is a Spring Boot HealthIndicator providing details about the health of Apache Geode Region OQL Indexes.
Since:
1.0.0
See Also:
  • Constructor Details

    • GeodeIndexesHealthIndicator

      public GeodeIndexesHealthIndicator()
      Default constructor to construct an uninitialized instance of GeodeIndexesHealthIndicator, which will not provide any health information.
    • GeodeIndexesHealthIndicator

      public GeodeIndexesHealthIndicator(org.springframework.context.ApplicationContext applicationContext)
      Constructs an instance of the GeodeIndexesHealthIndicator initialized with a reference to the ApplicationContext instance.
      Parameters:
      applicationContext - reference to the Spring ApplicationContext.
      Throws:
      IllegalArgumentException - if ApplicationContext is null.
      See Also:
      • ApplicationContext
  • Method Details

    • getApplicationContext

      protected Optional<org.springframework.context.ApplicationContext> getApplicationContext()
      Returns an Optional reference to the Spring ApplicationContext.
      Returns:
      an Optional reference to the Spring ApplicationContext.
      See Also:
    • doHealthCheck

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