Class ClusterTemplate
java.lang.Object
org.springframework.data.elasticsearch.client.elc.ChildTemplate<co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient>
org.springframework.data.elasticsearch.client.elc.ClusterTemplate
- All Implemented Interfaces:
ClusterOperations
public class ClusterTemplate
extends ChildTemplate<co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient>
implements ClusterOperations
Implementation of the
ClusterOperations
interface using en ElasticsearchClusterClient
.- Since:
- 4.4
- Author:
- Peter-Josef Meisch
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.elasticsearch.client.elc.ChildTemplate
ChildTemplate.ClientCallback<CLIENT,
RESULT> -
Field Summary
Fields inherited from class org.springframework.data.elasticsearch.client.elc.ChildTemplate
client, exceptionTranslator, requestConverter, responseConverter
-
Constructor Summary
ConstructorDescriptionClusterTemplate
(co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient client, ElasticsearchConverter elasticsearchConverter) -
Method Summary
Methods inherited from class org.springframework.data.elasticsearch.client.elc.ChildTemplate
execute
-
Constructor Details
-
ClusterTemplate
public ClusterTemplate(co.elastic.clients.elasticsearch.cluster.ElasticsearchClusterClient client, ElasticsearchConverter elasticsearchConverter)
-
-
Method Details
-
health
Description copied from interface:ClusterOperations
get the cluster's health status.- Specified by:
health
in interfaceClusterOperations
- Returns:
- health information for the cluster.
-