Class GeodeIndexesHealthIndicator
java.lang.Object
org.springframework.boot.actuate.health.AbstractHealthIndicator
org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
org.springframework.geode.boot.actuate.GeodeIndexesHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
The
GeodeIndexesHealthIndicator class is a Spring Boot HealthIndicator providing details about
the health of Apache Geode Region OQL Indexes.- Since:
- 1.0.0
- See Also:
-
RegionIndexHealthHealthIndicatorApplicationContextAbstractGeodeHealthIndicator
-
Field Summary
Fields inherited from class org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor to construct an uninitialized instance ofGeodeIndexesHealthIndicator, which will not provide any health information.GeodeIndexesHealthIndicator(org.springframework.context.ApplicationContext applicationContext) Constructs an instance of theGeodeIndexesHealthIndicatorinitialized with a reference to theApplicationContextinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) protected Optional<org.springframework.context.ApplicationContext>Returns anOptionalreference to the SpringApplicationContext.Methods inherited from class org.springframework.geode.boot.actuate.health.AbstractGeodeHealthIndicator
getGemFireCache, nullSafeClassName, toYesNoStringMethods inherited from class org.springframework.boot.actuate.health.AbstractHealthIndicator
healthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth
-
Constructor Details
-
GeodeIndexesHealthIndicator
public GeodeIndexesHealthIndicator()Default constructor to construct an uninitialized instance ofGeodeIndexesHealthIndicator, which will not provide any health information. -
GeodeIndexesHealthIndicator
public GeodeIndexesHealthIndicator(org.springframework.context.ApplicationContext applicationContext) Constructs an instance of theGeodeIndexesHealthIndicatorinitialized with a reference to theApplicationContextinstance.- Parameters:
applicationContext- reference to the SpringApplicationContext.- Throws:
IllegalArgumentException- ifApplicationContextis null.- See Also:
-
ApplicationContext
-
-
Method Details
-
getApplicationContext
Returns anOptionalreference to the SpringApplicationContext. -
doHealthCheck
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder) - Specified by:
doHealthCheckin classorg.springframework.boot.actuate.health.AbstractHealthIndicator
-