Class ReactiveClusterTemplate
java.lang.Object
org.springframework.data.elasticsearch.client.elc.ReactiveChildTemplate<co.elastic.clients.transport.ElasticsearchTransport,ReactiveElasticsearchClusterClient>
org.springframework.data.elasticsearch.client.elc.ReactiveClusterTemplate
- All Implemented Interfaces:
ReactiveClusterOperations
public class ReactiveClusterTemplate
extends ReactiveChildTemplate<co.elastic.clients.transport.ElasticsearchTransport,ReactiveElasticsearchClusterClient>
implements ReactiveClusterOperations
- Since:
- 4.4
- Author:
- Peter-Josef Meisch
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.elasticsearch.client.elc.ReactiveChildTemplate
ReactiveChildTemplate.ClientCallback<CLIENT,
RESULT extends org.reactivestreams.Publisher<?>> -
Field Summary
Fields inherited from class org.springframework.data.elasticsearch.client.elc.ReactiveChildTemplate
client, elasticsearchConverter, exceptionTranslator, requestConverter, responseConverter
-
Constructor Summary
ConstructorDescriptionReactiveClusterTemplate
(ReactiveElasticsearchClusterClient client, ElasticsearchConverter elasticsearchConverter) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ClusterHealth>
health()
get the cluster's health status.Methods inherited from class org.springframework.data.elasticsearch.client.elc.ReactiveChildTemplate
execute
-
Constructor Details
-
ReactiveClusterTemplate
public ReactiveClusterTemplate(ReactiveElasticsearchClusterClient client, ElasticsearchConverter elasticsearchConverter)
-
-
Method Details
-
health
Description copied from interface:ReactiveClusterOperations
get the cluster's health status.- Specified by:
health
in interfaceReactiveClusterOperations
- Returns:
- a Mono emitting the health information for the cluster.
-