Class ElasticSearchHealthCheckProvider
java.lang.Object
org.apache.unomi.healthcheck.provider.ElasticSearchHealthCheckProvider
- All Implemented Interfaces:
HealthCheckProvider
A Health Check that checks the status of the ElasticSearch connectivity according to the provided configuration.
This connectivity should be LIVE before any try to start Unomi.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()execute()name()voidsetConfig(HealthCheckConfig config) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.unomi.healthcheck.HealthCheckProvider
timeout
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ElasticSearchHealthCheckProvider
public ElasticSearchHealthCheckProvider()
-
-
Method Details
-
activate
public void activate() -
setConfig
-
name
- Specified by:
namein interfaceHealthCheckProvider
-
execute
- Specified by:
executein interfaceHealthCheckProvider
-