public class GeodeIndexesHealthIndicator extends AbstractGeodeHealthIndicator
GeodeIndexesHealthIndicator
class is a Spring Boot HealthIndicator
providing details about
the health of Apache Geode Region
OQL Indexes
.Region
,
Index
,
Health
,
HealthIndicator
,
ApplicationContext
,
AbstractGeodeHealthIndicator
UNKNOWN
Constructor and Description |
---|
GeodeIndexesHealthIndicator()
Default constructor to construct an uninitialized instance of
GeodeIndexesHealthIndicator ,
which will not provide any health information. |
GeodeIndexesHealthIndicator(org.springframework.context.ApplicationContext applicationContext)
Constructs an instance of the
GeodeIndexesHealthIndicator 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, toYesNoString
public GeodeIndexesHealthIndicator()
GeodeIndexesHealthIndicator
,
which will not provide any health information.public GeodeIndexesHealthIndicator(org.springframework.context.ApplicationContext applicationContext)
GeodeIndexesHealthIndicator
initialized with a reference to
the ApplicationContext
instance.applicationContext
- reference to the Spring ApplicationContext
.java.lang.IllegalArgumentException
- if ApplicationContext
is null.ApplicationContext
protected java.util.Optional<org.springframework.context.ApplicationContext> getApplicationContext()
Optional
reference to the Spring ApplicationContext
.Optional
reference to the Spring ApplicationContext
.ApplicationContext
,
Optional
protected void doHealthCheck(org.springframework.boot.actuate.health.Health.Builder builder)
doHealthCheck
in class org.springframework.boot.actuate.health.AbstractHealthIndicator