Class ElasticsearchNodesAsyncClient

java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.nodes.ElasticsearchNodesAsyncClient

public class ElasticsearchNodesAsyncClient
extends ApiClient
Client for the nodes namespace.
  • Constructor Details

    • ElasticsearchNodesAsyncClient

      public ElasticsearchNodesAsyncClient​(Transport transport)
  • Method Details

    • hotThreads

      public java.util.concurrent.CompletableFuture<HotThreadsResponse> hotThreads​(HotThreadsRequest request) throws java.io.IOException
      Returns information about hot threads on each node in the cluster.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • hotThreads

      public final java.util.concurrent.CompletableFuture<HotThreadsResponse> hotThreads​(java.util.function.Function<HotThreadsRequest.Builder,​ObjectBuilder<HotThreadsRequest>> fn) throws java.io.IOException
      Returns information about hot threads on each node in the cluster.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • info

      public java.util.concurrent.CompletableFuture<InfoResponse> info​(InfoRequest request) throws java.io.IOException
      Returns information about nodes in the cluster.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • info

      public final java.util.concurrent.CompletableFuture<InfoResponse> info​(java.util.function.Function<InfoRequest.Builder,​ObjectBuilder<InfoRequest>> fn) throws java.io.IOException
      Returns information about nodes in the cluster.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • reloadSecureSettings

      public java.util.concurrent.CompletableFuture<ReloadSecureSettingsResponse> reloadSecureSettings​(ReloadSecureSettingsRequest request) throws java.io.IOException
      Reloads secure settings.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • reloadSecureSettings

      public final java.util.concurrent.CompletableFuture<ReloadSecureSettingsResponse> reloadSecureSettings​(java.util.function.Function<ReloadSecureSettingsRequest.Builder,​ObjectBuilder<ReloadSecureSettingsRequest>> fn) throws java.io.IOException
      Reloads secure settings.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • stats

      public java.util.concurrent.CompletableFuture<StatsResponse> stats​(StatsRequest request) throws java.io.IOException
      Returns statistical information about nodes in the cluster.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • stats

      public final java.util.concurrent.CompletableFuture<StatsResponse> stats​(java.util.function.Function<StatsRequest.Builder,​ObjectBuilder<StatsRequest>> fn) throws java.io.IOException
      Returns statistical information about nodes in the cluster.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • usage

      public java.util.concurrent.CompletableFuture<UsageResponse> usage​(UsageRequest request) throws java.io.IOException
      Returns low-level information about REST actions usage on nodes.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • usage

      public final java.util.concurrent.CompletableFuture<UsageResponse> usage​(java.util.function.Function<UsageRequest.Builder,​ObjectBuilder<UsageRequest>> fn) throws java.io.IOException
      Returns low-level information about REST actions usage on nodes.
      Parameters:
      fn - a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co