Class GeodeDiskStoresHealthIndicator

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

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

    • GeodeDiskStoresHealthIndicator

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

      public GeodeDiskStoresHealthIndicator(org.springframework.context.ApplicationContext applicationContext)
      Constructs an instance of the GeodeDiskStoresHealthIndicator 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