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