Class ClusterTemplate

java.lang.Object
org.opensearch.data.client.osc.ChildTemplate<org.opensearch.client.transport.OpenSearchTransport,org.opensearch.client.opensearch.cluster.OpenSearchClusterClient>
org.opensearch.data.client.osc.ClusterTemplate
All Implemented Interfaces:
org.springframework.data.elasticsearch.core.cluster.ClusterOperations

public class ClusterTemplate extends ChildTemplate<org.opensearch.client.transport.OpenSearchTransport,org.opensearch.client.opensearch.cluster.OpenSearchClusterClient> implements org.springframework.data.elasticsearch.core.cluster.ClusterOperations
Implementation of the ClusterOperations interface using en OpenSearchClusterClient.
Since:
4.4
  • Constructor Details

    • ClusterTemplate

      public ClusterTemplate(org.opensearch.client.opensearch.cluster.OpenSearchClusterClient client, org.springframework.data.elasticsearch.core.convert.ElasticsearchConverter elasticsearchConverter)
  • Method Details

    • health

      public org.springframework.data.elasticsearch.core.cluster.ClusterHealth health()
      Specified by:
      health in interface org.springframework.data.elasticsearch.core.cluster.ClusterOperations