Class ReactiveRestClients
java.lang.Object
org.springframework.data.elasticsearch.client.erhlc.ReactiveRestClients
Deprecated.
since 5.0
Utility class for common access to reactive Elasticsearch clients.
ReactiveRestClients
consolidates set up
routines for the various drivers into a single place.- Since:
- 3.2
- Author:
- Christoph Strobl, Mark Paluch, Roman Puchkovskiy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReactiveElasticsearchClient
create
(ClientConfiguration clientConfiguration) Deprecated.Start here to create a new client tailored to your needs.static ReactiveElasticsearchClient
create
(ClientConfiguration clientConfiguration, RequestCreator requestCreator) Deprecated.Start here to create a new client tailored to your needs.
-
Method Details
-
create
Deprecated.Start here to create a new client tailored to your needs.- Parameters:
clientConfiguration
- client configuration to use for buildingReactiveElasticsearchClient
; must not be null.- Returns:
- new instance of
ReactiveElasticsearchClient
.
-
create
public static ReactiveElasticsearchClient create(ClientConfiguration clientConfiguration, RequestCreator requestCreator) Deprecated.Start here to create a new client tailored to your needs.- Parameters:
clientConfiguration
- client configuration to use for buildingReactiveElasticsearchClient
; must not be null.requestCreator
- request creator to use in the client; must not be null.- Returns:
- new instance of
ReactiveElasticsearchClient
.
-