Class ElasticsearchNodesClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.nodes.ElasticsearchNodesClient
public class ElasticsearchNodesClient extends ApiClient
Client for the nodes namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchNodesClient(Transport transport)
-
Method Summary
Modifier and Type Method Description HotThreadsResponse
hotThreads()
Returns information about hot threads on each node in the cluster.HotThreadsResponse
hotThreads(HotThreadsRequest request)
Returns information about hot threads on each node in the cluster.HotThreadsResponse
hotThreads(java.util.function.Function<HotThreadsRequest.Builder,ObjectBuilder<HotThreadsRequest>> fn)
Returns information about hot threads on each node in the cluster.NodesInfoResponse
info()
Returns information about nodes in the cluster.NodesInfoResponse
info(NodesInfoRequest request)
Returns information about nodes in the cluster.NodesInfoResponse
info(java.util.function.Function<NodesInfoRequest.Builder,ObjectBuilder<NodesInfoRequest>> fn)
Returns information about nodes in the cluster.ReloadSecureSettingsResponse
reloadSecureSettings()
Reloads secure settings.ReloadSecureSettingsResponse
reloadSecureSettings(ReloadSecureSettingsRequest request)
Reloads secure settings.ReloadSecureSettingsResponse
reloadSecureSettings(java.util.function.Function<ReloadSecureSettingsRequest.Builder,ObjectBuilder<ReloadSecureSettingsRequest>> fn)
Reloads secure settings.NodesStatsResponse
stats()
Returns statistical information about nodes in the cluster.NodesStatsResponse
stats(NodesStatsRequest request)
Returns statistical information about nodes in the cluster.NodesStatsResponse
stats(java.util.function.Function<NodesStatsRequest.Builder,ObjectBuilder<NodesStatsRequest>> fn)
Returns statistical information about nodes in the cluster.UsageResponse
usage()
Returns low-level information about REST actions usage on nodes.UsageResponse
usage(UsageRequest request)
Returns low-level information about REST actions usage on nodes.UsageResponse
usage(java.util.function.Function<UsageRequest.Builder,ObjectBuilder<UsageRequest>> fn)
Returns low-level information about REST actions usage on nodes.Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchNodesClient
-
-
Method Details
-
hotThreads
Returns information about hot threads on each node in the cluster.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
hotThreads
public final HotThreadsResponse hotThreads(java.util.function.Function<HotThreadsRequest.Builder,ObjectBuilder<HotThreadsRequest>> fn) throws java.io.IOExceptionReturns 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
-
hotThreads
Returns information about hot threads on each node in the cluster.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
info
Returns information about nodes in the cluster.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
info
public final NodesInfoResponse info(java.util.function.Function<NodesInfoRequest.Builder,ObjectBuilder<NodesInfoRequest>> fn) throws java.io.IOExceptionReturns 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
-
info
Returns information about nodes in the cluster.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
reloadSecureSettings
public ReloadSecureSettingsResponse reloadSecureSettings(ReloadSecureSettingsRequest request) throws java.io.IOExceptionReloads secure settings.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
reloadSecureSettings
public final ReloadSecureSettingsResponse reloadSecureSettings(java.util.function.Function<ReloadSecureSettingsRequest.Builder,ObjectBuilder<ReloadSecureSettingsRequest>> fn) throws java.io.IOExceptionReloads 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
-
reloadSecureSettings
Reloads secure settings.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
stats
Returns statistical information about nodes in the cluster.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
stats
public final NodesStatsResponse stats(java.util.function.Function<NodesStatsRequest.Builder,ObjectBuilder<NodesStatsRequest>> fn) throws java.io.IOExceptionReturns 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
-
stats
Returns statistical information about nodes in the cluster.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
usage
Returns low-level information about REST actions usage on nodes.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
usage
public final UsageResponse usage(java.util.function.Function<UsageRequest.Builder,ObjectBuilder<UsageRequest>> fn) throws java.io.IOExceptionReturns 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
-
usage
Returns low-level information about REST actions usage on nodes.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-