public class GeodeRegionsHealthIndicator extends AbstractGeodeHealthIndicator
GeodeRegionsHealthIndicator
class is a Spring Boot HealthIndicator
providing details about
the health of the GemFireCache
Regions
.GemFireCache
,
Region
,
Health
,
HealthIndicator
,
AbstractGeodeHealthIndicator
UNKNOWN
Constructor and Description |
---|
GeodeRegionsHealthIndicator()
Default constructor to construct an uninitialized instance of
GeodeRegionsHealthIndicator ,
which will not provide any health information. |
GeodeRegionsHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache)
Constructs an instance of the
GeodeRegionsHealthIndicator initialized with a reference to
the GemFireCache instance. |
Modifier and Type | Method and Description |
---|---|
protected void |
doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) |
protected java.util.function.BiConsumer<org.apache.geode.cache.Region<?,?>,org.springframework.boot.actuate.health.Health.Builder> |
getGemfireRegionHealthIndicatorConsumers()
Returns the collection of
BiConsumer objects that applies health details about the GemFireCache
Regions to the Health object. |
getGemFireCache, nullSafeClassName, toYesNoString
public GeodeRegionsHealthIndicator()
GeodeRegionsHealthIndicator
,
which will not provide any health information.public GeodeRegionsHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache)
GeodeRegionsHealthIndicator
initialized with a reference to
the GemFireCache
instance.gemfireCache
- reference to the GemFireCache
instance used to collect health information.java.lang.IllegalArgumentException
- if GemFireCache
is null.GemFireCache
protected java.util.function.BiConsumer<org.apache.geode.cache.Region<?,?>,org.springframework.boot.actuate.health.Health.Builder> getGemfireRegionHealthIndicatorConsumers()
BiConsumer
objects that applies health details about the GemFireCache
Regions
to the Health
object.BiConsumer
objects that applies health details about the GemFireCache
Regions
to the Health
object.Health
,
Region
,
BiConsumer
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
doHealthCheck
in class org.springframework.boot.actuate.health.AbstractHealthIndicator