return jobs;
}
public ESClusterHealth getESClusterHealth() {
try {
final ESClusterHealthResponse response = api.path(routes.IndexerClusterResource().clusterHealth(), ESClusterHealthResponse.class).execute();
return new ESClusterHealth(response);
} catch (APIException | IOException e) {
LOG.error("Could not load es cluster health", e);
}
return null;