Class GeodeDiskStoresHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
org.springframework.geode.boot.actuate.GeodeDiskStoresHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor
,org.springframework.boot.actuate.health.HealthIndicator
The
GeodeDiskStoresHealthIndicator
class is a Spring Boot HealthIndicator
providing details about
the health of Apache Geode DiskStores
.- Since:
- 1.0.0
- See Also:
-
DiskStore
Health
HealthIndicator
ApplicationContext
AbstractGeodeHealthIndicator
-
Field Summary
Fields inherited from class org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
UNKNOWN
-
Constructor Summary
ConstructorDescriptionDefault constructor to construct an uninitialized instance ofGeodeDiskStoresHealthIndicator
, which will not provide any health information.GeodeDiskStoresHealthIndicator
(org.springframework.context.ApplicationContext applicationContext) Constructs an instance of theGeodeDiskStoresHealthIndicator
initialized with a reference to theApplicationContext
instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doHealthCheck
(org.springframework.boot.actuate.health.Health.Builder builder) protected Optional<org.springframework.context.ApplicationContext>
Returns anOptional
reference to the SpringApplicationContext
.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
-
GeodeDiskStoresHealthIndicator
public GeodeDiskStoresHealthIndicator()Default constructor to construct an uninitialized instance ofGeodeDiskStoresHealthIndicator
, which will not provide any health information. -
GeodeDiskStoresHealthIndicator
public GeodeDiskStoresHealthIndicator(org.springframework.context.ApplicationContext applicationContext) Constructs an instance of theGeodeDiskStoresHealthIndicator
initialized with a reference to theApplicationContext
instance.- Parameters:
applicationContext
- reference to the SpringApplicationContext
.- Throws:
IllegalArgumentException
- ifApplicationContext
is null.- See Also:
-
ApplicationContext
-
-
Method Details
-
getApplicationContext
Returns anOptional
reference to the SpringApplicationContext
. -
doHealthCheck
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) - Specified by:
doHealthCheck
in classorg.springframework.boot.actuate.health.AbstractHealthIndicator
-