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:
-
GemFireCache
AbstractHealthIndicator
HealthIndicator
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractGeodeHealthIndicator
(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 theAbstractGeodeHealthIndicator
initialized with a reference to theGemFireCache
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<org.apache.geode.cache.GemFireCache>
Returns a reference to theGemFireCache
instance.protected String
nullSafeClassName
(Class<?> type) protected String
toYesNoString
(Boolean value) Methods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator
doHealthCheck, 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
-
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 theAbstractGeodeHealthIndicator
initialized with a reference to theGemFireCache
instance.- Parameters:
gemfireCache
- reference to theGemFireCache
instance used to collect health information.- Throws:
IllegalArgumentException
- ifGemFireCache
is null.- See Also:
-
GemFireCache
-
-
Method Details