Class GeodeContinuousQueriesHealthIndicator

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

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

    • GeodeContinuousQueriesHealthIndicator

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

      public GeodeContinuousQueriesHealthIndicator(org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer continuousQueryListenerContainer)
      Constructs an instance of the GeodeContinuousQueriesHealthIndicator initialized with a reference to the ContinuousQueryListenerContainer.
      Parameters:
      continuousQueryListenerContainer - reference to the SDG ContinuousQueryListenerContainer.
      See Also:
      • ContinuousQueryListenerContainer
  • Method Details

    • getContinuousQueryListenerContainer

      protected Optional<org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer> getContinuousQueryListenerContainer()
      Returns an Optional reference to the configured ContinuousQueryListenerContainer.
      Returns:
      an Optional reference to the configured ContinuousQueryListenerContainer.
      See Also:
      • ContinuousQueryListenerContainer
      • Optional
    • doHealthCheck

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