Class GeodeRegionsHealthIndicator

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

public class GeodeRegionsHealthIndicator extends AbstractGeodeHealthIndicator
The GeodeRegionsHealthIndicator class is a Spring Boot HealthIndicator providing details about the health of the GemFireCache Regions.
Since:
1.0.0
See Also:
  • Constructor Details

    • GeodeRegionsHealthIndicator

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

      public GeodeRegionsHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache)
      Constructs an instance of the GeodeRegionsHealthIndicator initialized with a reference to the GemFireCache instance.
      Parameters:
      gemfireCache - reference to the GemFireCache instance used to collect health information.
      Throws:
      IllegalArgumentException - if GemFireCache is null.
      See Also:
      • GemFireCache
  • Method Details

    • getGemfireRegionHealthIndicatorConsumers

      protected BiConsumer<org.apache.geode.cache.Region<?,?>,org.springframework.boot.actuate.health.Health.Builder> getGemfireRegionHealthIndicatorConsumers()
      Returns the collection of BiConsumer objects that applies health details about the GemFireCache Regions to the Health object.
      Returns:
      the collection of BiConsumer objects that applies health details about the GemFireCache Regions to the Health object.
      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