public class ClusterTemplate extends ChildTemplate<co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient> implements ClusterOperations
ClusterOperations interface using en ElasticsearchClusterClient.ChildTemplate.ClientCallback<CLIENT,RESULT>client, exceptionTranslator, requestConverter, responseConverter| Constructor and Description |
|---|
ClusterTemplate(co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient client,
ElasticsearchConverter elasticsearchConverter) |
| Modifier and Type | Method and Description |
|---|---|
ClusterHealth |
health()
get the cluster's health status.
|
executepublic ClusterTemplate(co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient client,
ElasticsearchConverter elasticsearchConverter)
public ClusterHealth health()
ClusterOperationshealth in interface ClusterOperationsCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.