public class GeodeCacheHealthIndicator extends AbstractGeodeHealthIndicator
GeodeCacheHealthIndicator
class is a Spring Boot HealthIndicator
providing details about
the health of the GemFireCache
, the DistributedSystem
, this DistributedMember
and the ResourceManager
.URL
,
Optional
,
Function
,
GemFireCache
,
ResourceManager
,
DistributedMember
,
DistributedSystem
,
Health
,
HealthIndicator
,
AbstractGeodeHealthIndicator
UNKNOWN
Constructor and Description |
---|
GeodeCacheHealthIndicator()
Default constructor to construct an uninitialized instance of
GeodeCacheHealthIndicator ,
which will not provide any health information. |
GeodeCacheHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache)
Constructs an instance of the
GeodeCacheHealthIndicator 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.Function<org.springframework.boot.actuate.health.Health.Builder,org.springframework.boot.actuate.health.Health.Builder> |
getGemfireHealthIndicatorFunctions()
Return a collection of
Functions that apply HealthIndicator information
about the GemFireCache to the Health aggregate object. |
getGemFireCache, nullSafeClassName, toYesNoString
public GeodeCacheHealthIndicator()
GeodeCacheHealthIndicator
,
which will not provide any health information.public GeodeCacheHealthIndicator(org.apache.geode.cache.GemFireCache gemfireCache)
GeodeCacheHealthIndicator
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.Function<org.springframework.boot.actuate.health.Health.Builder,org.springframework.boot.actuate.health.Health.Builder> getGemfireHealthIndicatorFunctions()
Functions
that apply HealthIndicator
information
about the GemFireCache
to the Health
aggregate object.Functions
applying HealthIndicator
information
about the GemFireCache
to a Health
object.Health.Builder
,
Function
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
doHealthCheck
in class org.springframework.boot.actuate.health.AbstractHealthIndicator