Class ElasticsearchCatAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchCatAsyncClient>
co.elastic.clients.elasticsearch.cat.ElasticsearchCatAsyncClient
public class ElasticsearchCatAsyncClient extends ApiClient<ElasticsearchTransport,ElasticsearchCatAsyncClient>
Client for the cat namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
Constructors Constructor Description ElasticsearchCatAsyncClient(ElasticsearchTransport transport)
ElasticsearchCatAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions)
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<AliasesResponse>
aliases()
Shows information about currently configured aliases to indices including filter and routing infos.java.util.concurrent.CompletableFuture<AliasesResponse>
aliases(AliasesRequest request)
Shows information about currently configured aliases to indices including filter and routing infos.java.util.concurrent.CompletableFuture<AliasesResponse>
aliases(java.util.function.Function<AliasesRequest.Builder,ObjectBuilder<AliasesRequest>> fn)
Shows information about currently configured aliases to indices including filter and routing infos.java.util.concurrent.CompletableFuture<AllocationResponse>
allocation()
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.java.util.concurrent.CompletableFuture<AllocationResponse>
allocation(AllocationRequest request)
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.java.util.concurrent.CompletableFuture<AllocationResponse>
allocation(java.util.function.Function<AllocationRequest.Builder,ObjectBuilder<AllocationRequest>> fn)
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.java.util.concurrent.CompletableFuture<ComponentTemplatesResponse>
componentTemplates()
Returns information about existing component_templates templates.java.util.concurrent.CompletableFuture<ComponentTemplatesResponse>
componentTemplates(ComponentTemplatesRequest request)
Returns information about existing component_templates templates.java.util.concurrent.CompletableFuture<ComponentTemplatesResponse>
componentTemplates(java.util.function.Function<ComponentTemplatesRequest.Builder,ObjectBuilder<ComponentTemplatesRequest>> fn)
Returns information about existing component_templates templates.java.util.concurrent.CompletableFuture<CountResponse>
count()
Provides quick access to the document count of the entire cluster, or individual indices.java.util.concurrent.CompletableFuture<CountResponse>
count(CountRequest request)
Provides quick access to the document count of the entire cluster, or individual indices.java.util.concurrent.CompletableFuture<CountResponse>
count(java.util.function.Function<CountRequest.Builder,ObjectBuilder<CountRequest>> fn)
Provides quick access to the document count of the entire cluster, or individual indices.java.util.concurrent.CompletableFuture<FielddataResponse>
fielddata()
Shows how much heap memory is currently being used by fielddata on every data node in the cluster.java.util.concurrent.CompletableFuture<FielddataResponse>
fielddata(FielddataRequest request)
Shows how much heap memory is currently being used by fielddata on every data node in the cluster.java.util.concurrent.CompletableFuture<FielddataResponse>
fielddata(java.util.function.Function<FielddataRequest.Builder,ObjectBuilder<FielddataRequest>> fn)
Shows how much heap memory is currently being used by fielddata on every data node in the cluster.java.util.concurrent.CompletableFuture<HealthResponse>
health()
Returns a concise representation of the cluster health.java.util.concurrent.CompletableFuture<HealthResponse>
health(HealthRequest request)
Returns a concise representation of the cluster health.java.util.concurrent.CompletableFuture<HealthResponse>
health(java.util.function.Function<HealthRequest.Builder,ObjectBuilder<HealthRequest>> fn)
Returns a concise representation of the cluster health.java.util.concurrent.CompletableFuture<HelpResponse>
help()
Returns help for the Cat APIs.java.util.concurrent.CompletableFuture<IndicesResponse>
indices()
Returns information about indices: number of primaries and replicas, document counts, disk size, ...java.util.concurrent.CompletableFuture<IndicesResponse>
indices(IndicesRequest request)
Returns information about indices: number of primaries and replicas, document counts, disk size, ...java.util.concurrent.CompletableFuture<IndicesResponse>
indices(java.util.function.Function<IndicesRequest.Builder,ObjectBuilder<IndicesRequest>> fn)
Returns information about indices: number of primaries and replicas, document counts, disk size, ...java.util.concurrent.CompletableFuture<MasterResponse>
master()
Returns information about the master node.java.util.concurrent.CompletableFuture<MlDatafeedsResponse>
mlDatafeeds()
Gets configuration and usage information about datafeeds.java.util.concurrent.CompletableFuture<MlDatafeedsResponse>
mlDatafeeds(MlDatafeedsRequest request)
Gets configuration and usage information about datafeeds.java.util.concurrent.CompletableFuture<MlDatafeedsResponse>
mlDatafeeds(java.util.function.Function<MlDatafeedsRequest.Builder,ObjectBuilder<MlDatafeedsRequest>> fn)
Gets configuration and usage information about datafeeds.java.util.concurrent.CompletableFuture<MlDataFrameAnalyticsResponse>
mlDataFrameAnalytics()
Gets configuration and usage information about data frame analytics jobs.java.util.concurrent.CompletableFuture<MlDataFrameAnalyticsResponse>
mlDataFrameAnalytics(MlDataFrameAnalyticsRequest request)
Gets configuration and usage information about data frame analytics jobs.java.util.concurrent.CompletableFuture<MlDataFrameAnalyticsResponse>
mlDataFrameAnalytics(java.util.function.Function<MlDataFrameAnalyticsRequest.Builder,ObjectBuilder<MlDataFrameAnalyticsRequest>> fn)
Gets configuration and usage information about data frame analytics jobs.java.util.concurrent.CompletableFuture<MlJobsResponse>
mlJobs()
Gets configuration and usage information about anomaly detection jobs.java.util.concurrent.CompletableFuture<MlJobsResponse>
mlJobs(MlJobsRequest request)
Gets configuration and usage information about anomaly detection jobs.java.util.concurrent.CompletableFuture<MlJobsResponse>
mlJobs(java.util.function.Function<MlJobsRequest.Builder,ObjectBuilder<MlJobsRequest>> fn)
Gets configuration and usage information about anomaly detection jobs.java.util.concurrent.CompletableFuture<MlTrainedModelsResponse>
mlTrainedModels()
Gets configuration and usage information about inference trained models.java.util.concurrent.CompletableFuture<MlTrainedModelsResponse>
mlTrainedModels(MlTrainedModelsRequest request)
Gets configuration and usage information about inference trained models.java.util.concurrent.CompletableFuture<MlTrainedModelsResponse>
mlTrainedModels(java.util.function.Function<MlTrainedModelsRequest.Builder,ObjectBuilder<MlTrainedModelsRequest>> fn)
Gets configuration and usage information about inference trained models.java.util.concurrent.CompletableFuture<NodeattrsResponse>
nodeattrs()
Returns information about custom node attributes.java.util.concurrent.CompletableFuture<NodesResponse>
nodes()
Returns basic statistics about performance of cluster nodes.java.util.concurrent.CompletableFuture<NodesResponse>
nodes(NodesRequest request)
Returns basic statistics about performance of cluster nodes.java.util.concurrent.CompletableFuture<NodesResponse>
nodes(java.util.function.Function<NodesRequest.Builder,ObjectBuilder<NodesRequest>> fn)
Returns basic statistics about performance of cluster nodes.java.util.concurrent.CompletableFuture<PendingTasksResponse>
pendingTasks()
Returns a concise representation of the cluster pending tasks.java.util.concurrent.CompletableFuture<PluginsResponse>
plugins()
Returns information about installed plugins across nodes node.java.util.concurrent.CompletableFuture<RecoveryResponse>
recovery()
Returns information about index shard recoveries, both on-going completed.java.util.concurrent.CompletableFuture<RecoveryResponse>
recovery(RecoveryRequest request)
Returns information about index shard recoveries, both on-going completed.java.util.concurrent.CompletableFuture<RecoveryResponse>
recovery(java.util.function.Function<RecoveryRequest.Builder,ObjectBuilder<RecoveryRequest>> fn)
Returns information about index shard recoveries, both on-going completed.java.util.concurrent.CompletableFuture<RepositoriesResponse>
repositories()
Returns information about snapshot repositories registered in the cluster.java.util.concurrent.CompletableFuture<SegmentsResponse>
segments()
Provides low-level information about the segments in the shards of an index.java.util.concurrent.CompletableFuture<SegmentsResponse>
segments(SegmentsRequest request)
Provides low-level information about the segments in the shards of an index.java.util.concurrent.CompletableFuture<SegmentsResponse>
segments(java.util.function.Function<SegmentsRequest.Builder,ObjectBuilder<SegmentsRequest>> fn)
Provides low-level information about the segments in the shards of an index.java.util.concurrent.CompletableFuture<ShardsResponse>
shards()
Provides a detailed view of shard allocation on nodes.java.util.concurrent.CompletableFuture<ShardsResponse>
shards(ShardsRequest request)
Provides a detailed view of shard allocation on nodes.java.util.concurrent.CompletableFuture<ShardsResponse>
shards(java.util.function.Function<ShardsRequest.Builder,ObjectBuilder<ShardsRequest>> fn)
Provides a detailed view of shard allocation on nodes.java.util.concurrent.CompletableFuture<SnapshotsResponse>
snapshots()
Returns all snapshots in a specific repository.java.util.concurrent.CompletableFuture<SnapshotsResponse>
snapshots(SnapshotsRequest request)
Returns all snapshots in a specific repository.java.util.concurrent.CompletableFuture<SnapshotsResponse>
snapshots(java.util.function.Function<SnapshotsRequest.Builder,ObjectBuilder<SnapshotsRequest>> fn)
Returns all snapshots in a specific repository.java.util.concurrent.CompletableFuture<TasksResponse>
tasks()
Returns information about the tasks currently executing on one or more nodes in the cluster.java.util.concurrent.CompletableFuture<TasksResponse>
tasks(TasksRequest request)
Returns information about the tasks currently executing on one or more nodes in the cluster.java.util.concurrent.CompletableFuture<TasksResponse>
tasks(java.util.function.Function<TasksRequest.Builder,ObjectBuilder<TasksRequest>> fn)
Returns information about the tasks currently executing on one or more nodes in the cluster.java.util.concurrent.CompletableFuture<TemplatesResponse>
templates()
Returns information about existing templates.java.util.concurrent.CompletableFuture<TemplatesResponse>
templates(TemplatesRequest request)
Returns information about existing templates.java.util.concurrent.CompletableFuture<TemplatesResponse>
templates(java.util.function.Function<TemplatesRequest.Builder,ObjectBuilder<TemplatesRequest>> fn)
Returns information about existing templates.java.util.concurrent.CompletableFuture<ThreadPoolResponse>
threadPool()
Returns cluster-wide thread pool statistics per node.java.util.concurrent.CompletableFuture<ThreadPoolResponse>
threadPool(ThreadPoolRequest request)
Returns cluster-wide thread pool statistics per node.java.util.concurrent.CompletableFuture<ThreadPoolResponse>
threadPool(java.util.function.Function<ThreadPoolRequest.Builder,ObjectBuilder<ThreadPoolRequest>> fn)
Returns cluster-wide thread pool statistics per node.java.util.concurrent.CompletableFuture<TransformsResponse>
transforms()
Gets configuration and usage information about transforms.java.util.concurrent.CompletableFuture<TransformsResponse>
transforms(TransformsRequest request)
Gets configuration and usage information about transforms.java.util.concurrent.CompletableFuture<TransformsResponse>
transforms(java.util.function.Function<TransformsRequest.Builder,ObjectBuilder<TransformsRequest>> fn)
Gets configuration and usage information about transforms.ElasticsearchCatAsyncClient
withTransportOptions(TransportOptions transportOptions)
Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchCatAsyncClient
-
ElasticsearchCatAsyncClient
public ElasticsearchCatAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchCatAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions)Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,ElasticsearchCatAsyncClient>
-
aliases
Shows information about currently configured aliases to indices including filter and routing infos.- See Also:
- Documentation on elastic.co
-
aliases
public final java.util.concurrent.CompletableFuture<AliasesResponse> aliases(java.util.function.Function<AliasesRequest.Builder,ObjectBuilder<AliasesRequest>> fn)Shows information about currently configured aliases to indices including filter and routing infos.- Parameters:
fn
- a function that initializes a builder to create theAliasesRequest
- See Also:
- Documentation on elastic.co
-
aliases
Shows information about currently configured aliases to indices including filter and routing infos.- See Also:
- Documentation on elastic.co
-
allocation
public java.util.concurrent.CompletableFuture<AllocationResponse> allocation(AllocationRequest request)Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.- See Also:
- Documentation on elastic.co
-
allocation
public final java.util.concurrent.CompletableFuture<AllocationResponse> allocation(java.util.function.Function<AllocationRequest.Builder,ObjectBuilder<AllocationRequest>> fn)Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.- Parameters:
fn
- a function that initializes a builder to create theAllocationRequest
- See Also:
- Documentation on elastic.co
-
allocation
Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.- See Also:
- Documentation on elastic.co
-
componentTemplates
public java.util.concurrent.CompletableFuture<ComponentTemplatesResponse> componentTemplates(ComponentTemplatesRequest request)Returns information about existing component_templates templates.- See Also:
- Documentation on elastic.co
-
componentTemplates
public final java.util.concurrent.CompletableFuture<ComponentTemplatesResponse> componentTemplates(java.util.function.Function<ComponentTemplatesRequest.Builder,ObjectBuilder<ComponentTemplatesRequest>> fn)Returns information about existing component_templates templates.- Parameters:
fn
- a function that initializes a builder to create theComponentTemplatesRequest
- See Also:
- Documentation on elastic.co
-
componentTemplates
Returns information about existing component_templates templates.- See Also:
- Documentation on elastic.co
-
count
Provides quick access to the document count of the entire cluster, or individual indices.- See Also:
- Documentation on elastic.co
-
count
public final java.util.concurrent.CompletableFuture<CountResponse> count(java.util.function.Function<CountRequest.Builder,ObjectBuilder<CountRequest>> fn)Provides quick access to the document count of the entire cluster, or individual indices.- Parameters:
fn
- a function that initializes a builder to create theCountRequest
- See Also:
- Documentation on elastic.co
-
count
Provides quick access to the document count of the entire cluster, or individual indices.- See Also:
- Documentation on elastic.co
-
fielddata
public java.util.concurrent.CompletableFuture<FielddataResponse> fielddata(FielddataRequest request)Shows how much heap memory is currently being used by fielddata on every data node in the cluster.- See Also:
- Documentation on elastic.co
-
fielddata
public final java.util.concurrent.CompletableFuture<FielddataResponse> fielddata(java.util.function.Function<FielddataRequest.Builder,ObjectBuilder<FielddataRequest>> fn)Shows how much heap memory is currently being used by fielddata on every data node in the cluster.- Parameters:
fn
- a function that initializes a builder to create theFielddataRequest
- See Also:
- Documentation on elastic.co
-
fielddata
Shows how much heap memory is currently being used by fielddata on every data node in the cluster.- See Also:
- Documentation on elastic.co
-
health
Returns a concise representation of the cluster health.- See Also:
- Documentation on elastic.co
-
health
public final java.util.concurrent.CompletableFuture<HealthResponse> health(java.util.function.Function<HealthRequest.Builder,ObjectBuilder<HealthRequest>> fn)Returns a concise representation of the cluster health.- Parameters:
fn
- a function that initializes a builder to create theHealthRequest
- See Also:
- Documentation on elastic.co
-
health
Returns a concise representation of the cluster health.- See Also:
- Documentation on elastic.co
-
help
Returns help for the Cat APIs.- See Also:
- Documentation on elastic.co
-
indices
Returns information about indices: number of primaries and replicas, document counts, disk size, ...- See Also:
- Documentation on elastic.co
-
indices
public final java.util.concurrent.CompletableFuture<IndicesResponse> indices(java.util.function.Function<IndicesRequest.Builder,ObjectBuilder<IndicesRequest>> fn)Returns information about indices: number of primaries and replicas, document counts, disk size, ...- Parameters:
fn
- a function that initializes a builder to create theIndicesRequest
- See Also:
- Documentation on elastic.co
-
indices
Returns information about indices: number of primaries and replicas, document counts, disk size, ...- See Also:
- Documentation on elastic.co
-
master
Returns information about the master node.- See Also:
- Documentation on elastic.co
-
mlDataFrameAnalytics
public java.util.concurrent.CompletableFuture<MlDataFrameAnalyticsResponse> mlDataFrameAnalytics(MlDataFrameAnalyticsRequest request)Gets configuration and usage information about data frame analytics jobs.- See Also:
- Documentation on elastic.co
-
mlDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<MlDataFrameAnalyticsResponse> mlDataFrameAnalytics(java.util.function.Function<MlDataFrameAnalyticsRequest.Builder,ObjectBuilder<MlDataFrameAnalyticsRequest>> fn)Gets configuration and usage information about data frame analytics jobs.- Parameters:
fn
- a function that initializes a builder to create theMlDataFrameAnalyticsRequest
- See Also:
- Documentation on elastic.co
-
mlDataFrameAnalytics
Gets configuration and usage information about data frame analytics jobs.- See Also:
- Documentation on elastic.co
-
mlDatafeeds
public java.util.concurrent.CompletableFuture<MlDatafeedsResponse> mlDatafeeds(MlDatafeedsRequest request)Gets configuration and usage information about datafeeds.- See Also:
- Documentation on elastic.co
-
mlDatafeeds
public final java.util.concurrent.CompletableFuture<MlDatafeedsResponse> mlDatafeeds(java.util.function.Function<MlDatafeedsRequest.Builder,ObjectBuilder<MlDatafeedsRequest>> fn)Gets configuration and usage information about datafeeds.- Parameters:
fn
- a function that initializes a builder to create theMlDatafeedsRequest
- See Also:
- Documentation on elastic.co
-
mlDatafeeds
Gets configuration and usage information about datafeeds.- See Also:
- Documentation on elastic.co
-
mlJobs
Gets configuration and usage information about anomaly detection jobs.- See Also:
- Documentation on elastic.co
-
mlJobs
public final java.util.concurrent.CompletableFuture<MlJobsResponse> mlJobs(java.util.function.Function<MlJobsRequest.Builder,ObjectBuilder<MlJobsRequest>> fn)Gets configuration and usage information about anomaly detection jobs.- Parameters:
fn
- a function that initializes a builder to create theMlJobsRequest
- See Also:
- Documentation on elastic.co
-
mlJobs
Gets configuration and usage information about anomaly detection jobs.- See Also:
- Documentation on elastic.co
-
mlTrainedModels
public java.util.concurrent.CompletableFuture<MlTrainedModelsResponse> mlTrainedModels(MlTrainedModelsRequest request)Gets configuration and usage information about inference trained models.- See Also:
- Documentation on elastic.co
-
mlTrainedModels
public final java.util.concurrent.CompletableFuture<MlTrainedModelsResponse> mlTrainedModels(java.util.function.Function<MlTrainedModelsRequest.Builder,ObjectBuilder<MlTrainedModelsRequest>> fn)Gets configuration and usage information about inference trained models.- Parameters:
fn
- a function that initializes a builder to create theMlTrainedModelsRequest
- See Also:
- Documentation on elastic.co
-
mlTrainedModels
Gets configuration and usage information about inference trained models.- See Also:
- Documentation on elastic.co
-
nodeattrs
Returns information about custom node attributes.- See Also:
- Documentation on elastic.co
-
nodes
Returns basic statistics about performance of cluster nodes.- See Also:
- Documentation on elastic.co
-
nodes
public final java.util.concurrent.CompletableFuture<NodesResponse> nodes(java.util.function.Function<NodesRequest.Builder,ObjectBuilder<NodesRequest>> fn)Returns basic statistics about performance of cluster nodes.- Parameters:
fn
- a function that initializes a builder to create theNodesRequest
- See Also:
- Documentation on elastic.co
-
nodes
Returns basic statistics about performance of cluster nodes.- See Also:
- Documentation on elastic.co
-
pendingTasks
Returns a concise representation of the cluster pending tasks.- See Also:
- Documentation on elastic.co
-
plugins
Returns information about installed plugins across nodes node.- See Also:
- Documentation on elastic.co
-
recovery
Returns information about index shard recoveries, both on-going completed.- See Also:
- Documentation on elastic.co
-
recovery
public final java.util.concurrent.CompletableFuture<RecoveryResponse> recovery(java.util.function.Function<RecoveryRequest.Builder,ObjectBuilder<RecoveryRequest>> fn)Returns information about index shard recoveries, both on-going completed.- Parameters:
fn
- a function that initializes a builder to create theRecoveryRequest
- See Also:
- Documentation on elastic.co
-
recovery
Returns information about index shard recoveries, both on-going completed.- See Also:
- Documentation on elastic.co
-
repositories
Returns information about snapshot repositories registered in the cluster.- See Also:
- Documentation on elastic.co
-
segments
Provides low-level information about the segments in the shards of an index.- See Also:
- Documentation on elastic.co
-
segments
public final java.util.concurrent.CompletableFuture<SegmentsResponse> segments(java.util.function.Function<SegmentsRequest.Builder,ObjectBuilder<SegmentsRequest>> fn)Provides low-level information about the segments in the shards of an index.- Parameters:
fn
- a function that initializes a builder to create theSegmentsRequest
- See Also:
- Documentation on elastic.co
-
segments
Provides low-level information about the segments in the shards of an index.- See Also:
- Documentation on elastic.co
-
shards
Provides a detailed view of shard allocation on nodes.- See Also:
- Documentation on elastic.co
-
shards
public final java.util.concurrent.CompletableFuture<ShardsResponse> shards(java.util.function.Function<ShardsRequest.Builder,ObjectBuilder<ShardsRequest>> fn)Provides a detailed view of shard allocation on nodes.- Parameters:
fn
- a function that initializes a builder to create theShardsRequest
- See Also:
- Documentation on elastic.co
-
shards
Provides a detailed view of shard allocation on nodes.- See Also:
- Documentation on elastic.co
-
snapshots
public java.util.concurrent.CompletableFuture<SnapshotsResponse> snapshots(SnapshotsRequest request)Returns all snapshots in a specific repository.- See Also:
- Documentation on elastic.co
-
snapshots
public final java.util.concurrent.CompletableFuture<SnapshotsResponse> snapshots(java.util.function.Function<SnapshotsRequest.Builder,ObjectBuilder<SnapshotsRequest>> fn)Returns all snapshots in a specific repository.- Parameters:
fn
- a function that initializes a builder to create theSnapshotsRequest
- See Also:
- Documentation on elastic.co
-
snapshots
Returns all snapshots in a specific repository.- See Also:
- Documentation on elastic.co
-
tasks
Returns information about the tasks currently executing on one or more nodes in the cluster.- See Also:
- Documentation on elastic.co
-
tasks
public final java.util.concurrent.CompletableFuture<TasksResponse> tasks(java.util.function.Function<TasksRequest.Builder,ObjectBuilder<TasksRequest>> fn)Returns information about the tasks currently executing on one or more nodes in the cluster.- Parameters:
fn
- a function that initializes a builder to create theTasksRequest
- See Also:
- Documentation on elastic.co
-
tasks
Returns information about the tasks currently executing on one or more nodes in the cluster.- See Also:
- Documentation on elastic.co
-
templates
public java.util.concurrent.CompletableFuture<TemplatesResponse> templates(TemplatesRequest request)Returns information about existing templates.- See Also:
- Documentation on elastic.co
-
templates
public final java.util.concurrent.CompletableFuture<TemplatesResponse> templates(java.util.function.Function<TemplatesRequest.Builder,ObjectBuilder<TemplatesRequest>> fn)Returns information about existing templates.- Parameters:
fn
- a function that initializes a builder to create theTemplatesRequest
- See Also:
- Documentation on elastic.co
-
templates
Returns information about existing templates.- See Also:
- Documentation on elastic.co
-
threadPool
public java.util.concurrent.CompletableFuture<ThreadPoolResponse> threadPool(ThreadPoolRequest request)Returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.- See Also:
- Documentation on elastic.co
-
threadPool
public final java.util.concurrent.CompletableFuture<ThreadPoolResponse> threadPool(java.util.function.Function<ThreadPoolRequest.Builder,ObjectBuilder<ThreadPoolRequest>> fn)Returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.- Parameters:
fn
- a function that initializes a builder to create theThreadPoolRequest
- See Also:
- Documentation on elastic.co
-
threadPool
Returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.- See Also:
- Documentation on elastic.co
-
transforms
public java.util.concurrent.CompletableFuture<TransformsResponse> transforms(TransformsRequest request)Gets configuration and usage information about transforms.- See Also:
- Documentation on elastic.co
-
transforms
public final java.util.concurrent.CompletableFuture<TransformsResponse> transforms(java.util.function.Function<TransformsRequest.Builder,ObjectBuilder<TransformsRequest>> fn)Gets configuration and usage information about transforms.- Parameters:
fn
- a function that initializes a builder to create theTransformsRequest
- See Also:
- Documentation on elastic.co
-
transforms
Gets configuration and usage information about transforms.- See Also:
- Documentation on elastic.co
-