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
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:
-
CqQuery
Query
QueryService
Health
HealthIndicator
ContinuousQueryListenerContainer
AbstractGeodeHealthIndicator
-
Field Summary
Fields inherited from class org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
UNKNOWN
-
Constructor Summary
ConstructorDescriptionDefault constructor to construct an uninitialized instance ofGeodeContinuousQueriesHealthIndicator
, which will not provide any health information.GeodeContinuousQueriesHealthIndicator
(org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer continuousQueryListenerContainer) Constructs an instance of theGeodeContinuousQueriesHealthIndicator
initialized with a reference to theContinuousQueryListenerContainer
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doHealthCheck
(org.springframework.boot.actuate.health.Health.Builder builder) protected Optional<org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer>
Returns anOptional
reference to the configuredContinuousQueryListenerContainer
.Methods inherited from class org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
getGemFireCache, nullSafeClassName, toYesNoString
Methods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator
health
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
Constructor Details
-
GeodeContinuousQueriesHealthIndicator
public GeodeContinuousQueriesHealthIndicator()Default constructor to construct an uninitialized instance ofGeodeContinuousQueriesHealthIndicator
, which will not provide any health information. -
GeodeContinuousQueriesHealthIndicator
public GeodeContinuousQueriesHealthIndicator(org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer continuousQueryListenerContainer) Constructs an instance of theGeodeContinuousQueriesHealthIndicator
initialized with a reference to theContinuousQueryListenerContainer
.- Parameters:
continuousQueryListenerContainer
- reference to the SDGContinuousQueryListenerContainer
.- See Also:
-
ContinuousQueryListenerContainer
-
-
Method Details
-
getContinuousQueryListenerContainer
protected Optional<org.springframework.data.gemfire.listener.ContinuousQueryListenerContainer> getContinuousQueryListenerContainer()Returns anOptional
reference to the configuredContinuousQueryListenerContainer
. -
doHealthCheck
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) - Specified by:
doHealthCheck
in classorg.springframework.boot.actuate.health.AbstractHealthIndicator
-