Class GeodeRegionsHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
org.springframework.geode.boot.actuate.GeodeRegionsHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor
,org.springframework.boot.actuate.health.HealthIndicator
The
GeodeRegionsHealthIndicator
class is a Spring Boot HealthIndicator
providing details about
the health of the GemFireCache
Regions
.- Since:
- 1.0.0
- See Also:
-
GemFireCache
Region
Health
HealthIndicator
AbstractGeodeHealthIndicator
-
Field Summary
Fields inherited from class org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
UNKNOWN
-
Constructor Summary
ConstructorDescriptionDefault constructor to construct an uninitialized instance ofGeodeRegionsHealthIndicator
, which will not provide any health information.GeodeRegionsHealthIndicator
(org.apache.geode.cache.GemFireCache gemfireCache) Constructs an instance of theGeodeRegionsHealthIndicator
initialized with a reference to theGemFireCache
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doHealthCheck
(org.springframework.boot.actuate.health.Health.Builder builder) protected BiConsumer<org.apache.geode.cache.Region<?,
?>, org.springframework.boot.actuate.health.Health.Builder> Returns the collection ofBiConsumer
objects that applies health details about theGemFireCache
Regions
to theHealth
object.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
-
GeodeRegionsHealthIndicator
public GeodeRegionsHealthIndicator()Default constructor to construct an uninitialized instance ofGeodeRegionsHealthIndicator
, which will not provide any health information. -
GeodeRegionsHealthIndicator
public GeodeRegionsHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache) Constructs an instance of theGeodeRegionsHealthIndicator
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
-
getGemfireRegionHealthIndicatorConsumers
protected BiConsumer<org.apache.geode.cache.Region<?,?>, getGemfireRegionHealthIndicatorConsumers()org.springframework.boot.actuate.health.Health.Builder> Returns the collection ofBiConsumer
objects that applies health details about theGemFireCache
Regions
to theHealth
object.- Returns:
- the collection of
BiConsumer
objects that applies health details about theGemFireCache
Regions
to theHealth
object. - See Also:
-
Health
Region
BiConsumer
-
doHealthCheck
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) - Specified by:
doHealthCheck
in classorg.springframework.boot.actuate.health.AbstractHealthIndicator
-