Class ElasticsearchNodesAsyncClient
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- 
Field SummaryFields inherited from class co.elastic.clients.ApiClienttransport, transportOptions
- 
Constructor SummaryConstructorsConstructorDescriptionElasticsearchNodesAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) 
- 
Method SummaryModifier and TypeMethodDescriptionClear the archived repositories metering.clearRepositoriesMeteringArchive(Function<ClearRepositoriesMeteringArchiveRequest.Builder, ObjectBuilder<ClearRepositoriesMeteringArchiveRequest>> fn) Clear the archived repositories metering.Get cluster repositories metering.getRepositoriesMeteringInfo(Function<GetRepositoriesMeteringInfoRequest.Builder, ObjectBuilder<GetRepositoriesMeteringInfoRequest>> fn) Get cluster repositories metering.Get the hot threads for nodes.hotThreads(HotThreadsRequest request) Get the hot threads for nodes.Get the hot threads for nodes.info()Get node information.info(NodesInfoRequest request) Get node information.Get node information.Reload the keystore on nodes in the cluster.Reload the keystore on nodes in the cluster.reloadSecureSettings(Function<ReloadSecureSettingsRequest.Builder, ObjectBuilder<ReloadSecureSettingsRequest>> fn) Reload the keystore on nodes in the cluster.stats()Get node statistics.stats(NodesStatsRequest request) Get node statistics.Get node statistics.usage()Get feature usage information.usage(NodesUsageRequest request) Get feature usage information.Get feature 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- 
ElasticsearchNodesAsyncClient
- 
ElasticsearchNodesAsyncClientpublic ElasticsearchNodesAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions) 
 
- 
- 
Method Details- 
withTransportOptionspublic ElasticsearchNodesAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClientCreates a new client with some request options- Specified by:
- withTransportOptionsin class- ApiClient<ElasticsearchTransport,- ElasticsearchNodesAsyncClient> 
 
- 
clearRepositoriesMeteringArchivepublic CompletableFuture<ClearRepositoriesMeteringArchiveResponse> clearRepositoriesMeteringArchive(ClearRepositoriesMeteringArchiveRequest request) Clear the archived repositories metering. Clear the archived repositories metering information in the cluster.- See Also:
 
- 
clearRepositoriesMeteringArchivepublic final CompletableFuture<ClearRepositoriesMeteringArchiveResponse> clearRepositoriesMeteringArchive(Function<ClearRepositoriesMeteringArchiveRequest.Builder, ObjectBuilder<ClearRepositoriesMeteringArchiveRequest>> fn) Clear the archived repositories metering. Clear the archived repositories metering information in the cluster.- Parameters:
- fn- a function that initializes a builder to create the- ClearRepositoriesMeteringArchiveRequest
- See Also:
 
- 
getRepositoriesMeteringInfopublic CompletableFuture<GetRepositoriesMeteringInfoResponse> getRepositoriesMeteringInfo(GetRepositoriesMeteringInfoRequest request) Get cluster repositories metering. Get repositories metering information for a cluster. This API exposes monotonically non-decreasing counters and it is expected that clients would durably store the information needed to compute aggregations over a period of time. Additionally, the information exposed by this API is volatile, meaning that it will not be present after node restarts.- See Also:
 
- 
getRepositoriesMeteringInfopublic final CompletableFuture<GetRepositoriesMeteringInfoResponse> getRepositoriesMeteringInfo(Function<GetRepositoriesMeteringInfoRequest.Builder, ObjectBuilder<GetRepositoriesMeteringInfoRequest>> fn) Get cluster repositories metering. Get repositories metering information for a cluster. This API exposes monotonically non-decreasing counters and it is expected that clients would durably store the information needed to compute aggregations over a period of time. Additionally, the information exposed by this API is volatile, meaning that it will not be present after node restarts.- Parameters:
- fn- a function that initializes a builder to create the- GetRepositoriesMeteringInfoRequest
- See Also:
 
- 
hotThreadsGet the hot threads for nodes. Get a breakdown of the hot threads on each selected node in the cluster. The output is plain text with a breakdown of the top hot threads for each node.- See Also:
 
- 
hotThreadspublic final CompletableFuture<HotThreadsResponse> hotThreads(Function<HotThreadsRequest.Builder, ObjectBuilder<HotThreadsRequest>> fn) Get the hot threads for nodes. Get a breakdown of the hot threads on each selected node in the cluster. The output is plain text with a breakdown of the top hot threads for each node.- Parameters:
- fn- a function that initializes a builder to create the- HotThreadsRequest
- See Also:
 
- 
hotThreadsGet the hot threads for nodes. Get a breakdown of the hot threads on each selected node in the cluster. The output is plain text with a breakdown of the top hot threads for each node.- See Also:
 
- 
infoGet node information.By default, the API returns all attributes and core settings for cluster nodes. - See Also:
 
- 
infopublic final CompletableFuture<NodesInfoResponse> info(Function<NodesInfoRequest.Builder, ObjectBuilder<NodesInfoRequest>> fn) Get node information.By default, the API returns all attributes and core settings for cluster nodes. - Parameters:
- fn- a function that initializes a builder to create the- NodesInfoRequest
- See Also:
 
- 
infoGet node information.By default, the API returns all attributes and core settings for cluster nodes. - See Also:
 
- 
reloadSecureSettingspublic CompletableFuture<ReloadSecureSettingsResponse> reloadSecureSettings(ReloadSecureSettingsRequest request) Reload the keystore on nodes in the cluster.Secure settings are stored in an on-disk keystore. Certain of these settings are reloadable. That is, you can change them on disk and reload them without restarting any nodes in the cluster. When you have updated reloadable secure settings in your keystore, you can use this API to reload those settings on each node. When the Elasticsearch keystore is password protected and not simply obfuscated, you must provide the password for the keystore when you reload the secure settings. Reloading the settings for the whole cluster assumes that the keystores for all nodes are protected with the same password; this method is allowed only when inter-node communications are encrypted. Alternatively, you can reload the secure settings on each node by locally accessing the API and passing the node-specific Elasticsearch keystore password. - See Also:
 
- 
reloadSecureSettingspublic final CompletableFuture<ReloadSecureSettingsResponse> reloadSecureSettings(Function<ReloadSecureSettingsRequest.Builder, ObjectBuilder<ReloadSecureSettingsRequest>> fn) Reload the keystore on nodes in the cluster.Secure settings are stored in an on-disk keystore. Certain of these settings are reloadable. That is, you can change them on disk and reload them without restarting any nodes in the cluster. When you have updated reloadable secure settings in your keystore, you can use this API to reload those settings on each node. When the Elasticsearch keystore is password protected and not simply obfuscated, you must provide the password for the keystore when you reload the secure settings. Reloading the settings for the whole cluster assumes that the keystores for all nodes are protected with the same password; this method is allowed only when inter-node communications are encrypted. Alternatively, you can reload the secure settings on each node by locally accessing the API and passing the node-specific Elasticsearch keystore password. - Parameters:
- fn- a function that initializes a builder to create the- ReloadSecureSettingsRequest
- See Also:
 
- 
reloadSecureSettingsReload the keystore on nodes in the cluster.Secure settings are stored in an on-disk keystore. Certain of these settings are reloadable. That is, you can change them on disk and reload them without restarting any nodes in the cluster. When you have updated reloadable secure settings in your keystore, you can use this API to reload those settings on each node. When the Elasticsearch keystore is password protected and not simply obfuscated, you must provide the password for the keystore when you reload the secure settings. Reloading the settings for the whole cluster assumes that the keystores for all nodes are protected with the same password; this method is allowed only when inter-node communications are encrypted. Alternatively, you can reload the secure settings on each node by locally accessing the API and passing the node-specific Elasticsearch keystore password. - See Also:
 
- 
statsGet node statistics. Get statistics for nodes in a cluster. By default, all stats are returned. You can limit the returned information by using metrics.- See Also:
 
- 
statspublic final CompletableFuture<NodesStatsResponse> stats(Function<NodesStatsRequest.Builder, ObjectBuilder<NodesStatsRequest>> fn) Get node statistics. Get statistics for nodes in a cluster. By default, all stats are returned. You can limit the returned information by using metrics.- Parameters:
- fn- a function that initializes a builder to create the- NodesStatsRequest
- See Also:
 
- 
statsGet node statistics. Get statistics for nodes in a cluster. By default, all stats are returned. You can limit the returned information by using metrics.- See Also:
 
- 
usageGet feature usage information.- See Also:
 
- 
usagepublic final CompletableFuture<NodesUsageResponse> usage(Function<NodesUsageRequest.Builder, ObjectBuilder<NodesUsageRequest>> fn) Get feature usage information.- Parameters:
- fn- a function that initializes a builder to create the- NodesUsageRequest
- See Also:
 
- 
usageGet feature usage information.- See Also:
 
 
-