Class ElasticsearchXpackAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchXpackAsyncClient>
co.elastic.clients.elasticsearch.xpack.ElasticsearchXpackAsyncClient
- All Implemented Interfaces:
Closeable,AutoCloseable
public class ElasticsearchXpackAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchXpackAsyncClient>
Client for the xpack namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions -
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchXpackAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptioninfo()Get information.info(XpackInfoRequest request) Get information.Get information.usage()Get usage information.usage(XpackUsageRequest request) Get usage information.Get usage information.withTransportOptions(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, close, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchXpackAsyncClient
-
ElasticsearchXpackAsyncClient
public ElasticsearchXpackAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchXpackAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClientCreates a new client with some request options- Specified by:
withTransportOptionsin classApiClient<ElasticsearchTransport,ElasticsearchXpackAsyncClient>
-
info
Get information. The information provided by the API includes:- Build information including the build number and timestamp.
- License information about the currently installed license.
- Feature information for the features that are currently enabled and available under the current license.
- See Also:
-
info
public final CompletableFuture<XpackInfoResponse> info(Function<XpackInfoRequest.Builder, ObjectBuilder<XpackInfoRequest>> fn) Get information. The information provided by the API includes:- Build information including the build number and timestamp.
- License information about the currently installed license.
- Feature information for the features that are currently enabled and available under the current license.
- Parameters:
fn- a function that initializes a builder to create theXpackInfoRequest- See Also:
-
info
Get information. The information provided by the API includes:- Build information including the build number and timestamp.
- License information about the currently installed license.
- Feature information for the features that are currently enabled and available under the current license.
- See Also:
-
usage
Get usage information. Get information about the features that are currently enabled and available under the current license. The API also provides some usage statistics.- See Also:
-
usage
public final CompletableFuture<XpackUsageResponse> usage(Function<XpackUsageRequest.Builder, ObjectBuilder<XpackUsageRequest>> fn) Get usage information. Get information about the features that are currently enabled and available under the current license. The API also provides some usage statistics.- Parameters:
fn- a function that initializes a builder to create theXpackUsageRequest- See Also:
-
usage
Get usage information. Get information about the features that are currently enabled and available under the current license. The API also provides some usage statistics.- See Also:
-