public class GeodeDiskStoresHealthIndicator extends AbstractGeodeHealthIndicator
GeodeDiskStoresHealthIndicator class is a Spring Boot HealthIndicator providing details about
the health of Apache Geode DiskStores.DiskStore,
Health,
HealthIndicator,
ApplicationContext,
AbstractGeodeHealthIndicatorUNKNOWN| Constructor and Description |
|---|
GeodeDiskStoresHealthIndicator()
Default constructor to construct an uninitialized instance of
GeodeDiskStoresHealthIndicator,
which will not provide any health information. |
GeodeDiskStoresHealthIndicator(org.springframework.context.ApplicationContext applicationContext)
Constructs an instance of the
GeodeDiskStoresHealthIndicator initialized with a reference to
the ApplicationContext instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) |
protected java.util.Optional<org.springframework.context.ApplicationContext> |
getApplicationContext()
Returns an
Optional reference to the Spring ApplicationContext. |
getGemFireCache, nullSafeClassName, toYesNoStringpublic GeodeDiskStoresHealthIndicator()
GeodeDiskStoresHealthIndicator,
which will not provide any health information.public GeodeDiskStoresHealthIndicator(org.springframework.context.ApplicationContext applicationContext)
GeodeDiskStoresHealthIndicator initialized with a reference to
the ApplicationContext instance.applicationContext - reference to the Spring ApplicationContext.java.lang.IllegalArgumentException - if ApplicationContext is null.ApplicationContextprotected java.util.Optional<org.springframework.context.ApplicationContext> getApplicationContext()
Optional reference to the Spring ApplicationContext.Optional reference to the Spring ApplicationContext.ApplicationContext,
Optionalprotected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
doHealthCheck in class org.springframework.boot.actuate.health.AbstractHealthIndicator