public interface ClusterOperations
| Modifier and Type | Method and Description |
|---|---|
static ClusterOperations |
forTemplate(ElasticsearchRestTemplate template)
Creates a ClusterOperations for a
ElasticsearchRestTemplate. |
static ClusterOperations |
forTemplate(ElasticsearchTemplate template)
Creates a ClusterOperations for a
ElasticsearchTemplate. |
ClusterHealth |
health()
get the cluster's health status.
|
static ClusterOperations forTemplate(ElasticsearchRestTemplate template)
ElasticsearchRestTemplate.template - the template, must not be nullstatic ClusterOperations forTemplate(ElasticsearchTemplate template)
ElasticsearchTemplate.template - the template, must not be nullClusterHealth health()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.