Class OpenSearchNodesAsyncClientBase<Self extends OpenSearchNodesAsyncClientBase<Self>>
java.lang.Object
org.opensearch.client.ApiClient<OpenSearchTransport,Self>
org.opensearch.client.opensearch.nodes.OpenSearchNodesAsyncClientBase<Self>
- Direct Known Subclasses:
OpenSearchNodesAsyncClient
@Generated("org.opensearch.client.codegen.CodeGenerator")
public abstract class OpenSearchNodesAsyncClientBase<Self extends OpenSearchNodesAsyncClientBase<Self>>
extends ApiClient<OpenSearchTransport,Self>
Client for the nodes namespace.
-
Field Summary
Fields inherited from class org.opensearch.client.ApiClient
transport, transportOptions -
Constructor Summary
ConstructorsConstructorDescriptionOpenSearchNodesAsyncClientBase(OpenSearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptioninfo()Returns information about nodes in the cluster.Returns information about nodes in the cluster.info(NodesInfoRequest request) Returns information about nodes in the cluster.Reloads secure settings.reloadSecureSettings(Function<ReloadSecureSettingsRequest.Builder, ObjectBuilder<ReloadSecureSettingsRequest>> fn) Reloads secure settings.Reloads secure settings.stats()Returns statistical information about nodes in the cluster.Returns statistical information about nodes in the cluster.stats(NodesStatsRequest request) Returns statistical information about nodes in the cluster.usage()Returns low-level information about REST actions usage on nodes.Returns low-level information about REST actions usage on nodes.usage(NodesUsageRequest request) Returns low-level information about REST actions usage on nodes.Methods inherited from class org.opensearch.client.ApiClient
_transport, _transportOptions, getDeserializer, withTransportOptions
-
Constructor Details
-
OpenSearchNodesAsyncClientBase
public OpenSearchNodesAsyncClientBase(OpenSearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
info
public CompletableFuture<NodesInfoResponse> info(NodesInfoRequest request) throws IOException, OpenSearchException Returns information about nodes in the cluster.- Throws:
IOExceptionOpenSearchException
-
info
public final CompletableFuture<NodesInfoResponse> info(Function<NodesInfoRequest.Builder, ObjectBuilder<NodesInfoRequest>> fn) throws IOException, OpenSearchExceptionReturns information about nodes in the cluster.- Parameters:
fn- a function that initializes a builder to create theNodesInfoRequest- Throws:
IOExceptionOpenSearchException
-
info
Returns information about nodes in the cluster.- Throws:
IOExceptionOpenSearchException
-
reloadSecureSettings
public CompletableFuture<ReloadSecureSettingsResponse> reloadSecureSettings(ReloadSecureSettingsRequest request) throws IOException, OpenSearchException Reloads secure settings.- Throws:
IOExceptionOpenSearchException
-
reloadSecureSettings
public final CompletableFuture<ReloadSecureSettingsResponse> reloadSecureSettings(Function<ReloadSecureSettingsRequest.Builder, ObjectBuilder<ReloadSecureSettingsRequest>> fn) throws IOException, OpenSearchExceptionReloads secure settings.- Parameters:
fn- a function that initializes a builder to create theReloadSecureSettingsRequest- Throws:
IOExceptionOpenSearchException
-
reloadSecureSettings
public final CompletableFuture<ReloadSecureSettingsResponse> reloadSecureSettings() throws IOException, OpenSearchExceptionReloads secure settings.- Throws:
IOExceptionOpenSearchException
-
stats
public CompletableFuture<NodesStatsResponse> stats(NodesStatsRequest request) throws IOException, OpenSearchException Returns statistical information about nodes in the cluster.- Throws:
IOExceptionOpenSearchException
-
stats
public final CompletableFuture<NodesStatsResponse> stats(Function<NodesStatsRequest.Builder, ObjectBuilder<NodesStatsRequest>> fn) throws IOException, OpenSearchExceptionReturns statistical information about nodes in the cluster.- Parameters:
fn- a function that initializes a builder to create theNodesStatsRequest- Throws:
IOExceptionOpenSearchException
-
stats
Returns statistical information about nodes in the cluster.- Throws:
IOExceptionOpenSearchException
-
usage
public CompletableFuture<NodesUsageResponse> usage(NodesUsageRequest request) throws IOException, OpenSearchException Returns low-level information about REST actions usage on nodes.- Throws:
IOExceptionOpenSearchException
-
usage
public final CompletableFuture<NodesUsageResponse> usage(Function<NodesUsageRequest.Builder, ObjectBuilder<NodesUsageRequest>> fn) throws IOException, OpenSearchExceptionReturns low-level information about REST actions usage on nodes.- Parameters:
fn- a function that initializes a builder to create theNodesUsageRequest- Throws:
IOExceptionOpenSearchException
-
usage
Returns low-level information about REST actions usage on nodes.- Throws:
IOExceptionOpenSearchException
-