Spring Boot for VMware GemFire
Class AbstractGeodeHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
- Direct Known Subclasses:
GeodeAsyncEventQueuesHealthIndicator,GeodeCacheHealthIndicator,GeodeCacheServersHealthIndicator,GeodeContinuousQueriesHealthIndicator,GeodeDiskStoresHealthIndicator,GeodeGatewayReceiversHealthIndicator,GeodeGatewaySendersHealthIndicator,GeodeIndexesHealthIndicator,GeodePoolsHealthIndicator,GeodeRegionsHealthIndicator
public abstract class AbstractGeodeHealthIndicator
extends org.springframework.boot.actuate.health.AbstractHealthIndicator
The
AbstractGeodeHealthIndicator class is an abstract base class encapsulating functionality common to all
Apache Geode HealthIndicator objects.- Since:
- 1.0.0
- See Also:
-
GemFireCacheAbstractHealthIndicatorHealthIndicator
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractGeodeHealthIndicator(String healthCheckedFailedMessage) Default constructor to construct an uninitialized instance ofAbstractGeodeHealthIndicator, which will not provide any health information.AbstractGeodeHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache) Constructs an instance of theAbstractGeodeHealthIndicatorinitialized with a reference to theGemFireCacheinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<org.apache.geode.cache.GemFireCache>Returns a reference to theGemFireCacheinstance.protected StringnullSafeClassName(Class<?> type) protected StringtoYesNoString(Boolean value) Methods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator
doHealthCheck, 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
-
Field Details
-
UNKNOWN
- See Also:
-
-
Constructor Details
-
AbstractGeodeHealthIndicator
Default constructor to construct an uninitialized instance ofAbstractGeodeHealthIndicator, which will not provide any health information. -
AbstractGeodeHealthIndicator
public AbstractGeodeHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache) Constructs an instance of theAbstractGeodeHealthIndicatorinitialized with a reference to theGemFireCacheinstance.- Parameters:
gemfireCache- reference to theGemFireCacheinstance used to collect health information.- Throws:
IllegalArgumentException- ifGemFireCacheis null.- See Also:
-
GemFireCache
-
-
Method Details