Package org.nuxeo.elasticsearch.status
Class ElasticSearchStatusProbe
- java.lang.Object
-
- org.nuxeo.elasticsearch.status.ElasticSearchStatusProbe
-
- All Implemented Interfaces:
Probe
public class ElasticSearchStatusProbe extends Object implements Probe
Probe to check the status of the ES cluster. Returns success if the cluster is GREEN or YELLOW, Failure otherwise- Since:
- 9.3
-
-
Constructor Summary
Constructors Constructor Description ElasticSearchStatusProbe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]
getIndexNames()
ProbeStatus
run()
-
-
-
Constructor Detail
-
ElasticSearchStatusProbe
public ElasticSearchStatusProbe()
-
-
Method Detail
-
run
public ProbeStatus run()
-
getIndexNames
protected String[] getIndexNames()
-
-