Class GeodePoolsHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
org.springframework.geode.boot.actuate.GeodePoolsHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
The
GeodePoolsHealthIndicator class is a Spring Boot HealthIndicator providing details about
the health of the configured Apache Geode client Pools.- Since:
- 1.0.0
- See Also:
-
GemFireCachePoolPoolManagerHealthHealthIndicatorAbstractGeodeHealthIndicator
-
Field Summary
Fields inherited from class org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor to construct an uninitialized instance ofGeodePoolsHealthIndicator, which will not provide any health information.GeodePoolsHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache) Constructs an instance of theGeodePoolsHealthIndicatorinitialized with a reference to theGemFireCacheinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) Methods inherited from class org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
getGemFireCache, nullSafeClassName, toYesNoStringMethods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator
healthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
Constructor Details
-
GeodePoolsHealthIndicator
public GeodePoolsHealthIndicator()Default constructor to construct an uninitialized instance ofGeodePoolsHealthIndicator, which will not provide any health information. -
GeodePoolsHealthIndicator
public GeodePoolsHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache) Constructs an instance of theGeodePoolsHealthIndicatorinitialized with a reference to theGemFireCacheinstance.- Parameters:
gemfireCache- reference to theGemFireCacheinstance used to collect health information.- Throws:
IllegalArgumentException- ifGemFireCacheis null.- See Also:
-
GemFireCache
-
-
Method Details
-
doHealthCheck
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) - Specified by:
doHealthCheckin classorg.springframework.boot.actuate.health.AbstractHealthIndicator
-