/// <inheritdoc/>
 public Task <INodesHotThreadsResponse> NodesHotThreadsAsync(INodesHotThreadsRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 this.Dispatcher.DispatchAsync <INodesHotThreadsRequest, NodesHotThreadsRequestParameters, NodesHotThreadsResponse, INodesHotThreadsResponse>(
     request,
     cancellationToken,
     new NodesHotThreadConverter(DeserializeNodesHotThreadResponse),
     (p, d, c) => this.LowLevelDispatch.NodesHotThreadsDispatchAsync <NodesHotThreadsResponse>(p, c)
     );
		/// <inheritdoc/>
		public Task<INodesHotThreadsResponse> NodesHotThreadsAsync(INodesHotThreadsRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<INodesHotThreadsRequest, NodesHotThreadsRequestParameters, NodesHotThreadsResponse, INodesHotThreadsResponse>(
				request,
				cancellationToken,
				new NodesHotThreadConverter(DeserializeNodesHotThreadResponse),
				(p, d, c) => this.LowLevelDispatch.NodesHotThreadsDispatchAsync<NodesHotThreadsResponse>(p, c)
			);
 /// <inheritdoc />
 public Task <INodesHotThreadsResponse> NodesHotThreadsAsync(INodesHotThreadsRequest nodesHotThreadsRequest)
 {
     return(this.DispatchAsync <INodesHotThreadsRequest, NodesHotThreadsRequestParameters, NodesHotThreadsResponse, INodesHotThreadsResponse>(
                nodesHotThreadsRequest,
                (p, d) => this.RawDispatch.NodesHotThreadsDispatchAsync <NodesHotThreadsResponse>(
                    p.DeserializationState(new NodesHotThreadConverter(DeserializeNodesHotThreadResponse)))
                ));
 }
 /// <summary>
 /// <c>GET</c> request to the <c>nodes.hot_threads</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html</a>
 /// </summary>
 public Task <NodesHotThreadsResponse> HotThreadsAsync(INodesHotThreadsRequest request, CancellationToken ct = default) => DoRequestAsync <INodesHotThreadsRequest, NodesHotThreadsResponse>(request, request.RequestParameters, ct);
 /// <summary>
 /// <c>GET</c> request to the <c>nodes.hot_threads</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html">https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html</a>
 /// </summary>
 public NodesHotThreadsResponse HotThreads(INodesHotThreadsRequest request) => DoRequest <INodesHotThreadsRequest, NodesHotThreadsResponse>(request, request.RequestParameters);
 /// <inheritdoc />
 public Task <NodesHotThreadsResponse> NodesHotThreadsAsync(INodesHotThreadsRequest request, CancellationToken ct = default)
 {
     request.RequestParameters.DeserializationOverride = DeserializeNodesHotThreadResponse;
     return(DoRequestAsync <INodesHotThreadsRequest, NodesHotThreadsResponse>(request, request.RequestParameters, ct));
 }
 /// <inheritdoc />
 public NodesHotThreadsResponse NodesHotThreads(INodesHotThreadsRequest request)
 {
     request.RequestParameters.DeserializationOverride = DeserializeNodesHotThreadResponse;
     return(DoRequest <INodesHotThreadsRequest, NodesHotThreadsResponse>(request, request.RequestParameters));
 }
		/// <inheritdoc/>
		public Task<INodesHotThreadsResponse> NodesHotThreadsAsync(INodesHotThreadsRequest request) =>
			this.Dispatcher.DispatchAsync<INodesHotThreadsRequest, NodesHotThreadsRequestParameters, NodesHotThreadsResponse, INodesHotThreadsResponse>(
				request,
				new NodesHotThreadConverter(DeserializeNodesHotThreadResponse),
				(p, d) => this.LowLevelDispatch.NodesHotThreadsDispatchAsync<NodesHotThreadsResponse>(p)
			);
Пример #9
0
 public static Task <NodesHotThreadsResponse> NodesHotThreadsAsync(this IElasticClient client, INodesHotThreadsRequest request,
                                                                   CancellationToken ct = default
                                                                   )
 => client.Nodes.HotThreadsAsync(request, ct);
Пример #10
0
 public static NodesHotThreadsResponse NodesHotThreads(this IElasticClient client, INodesHotThreadsRequest request)
 => client.Nodes.HotThreads(request);
 /// <inheritdoc/>
 public Task <INodesHotThreadsResponse> NodesHotThreadsAsync(INodesHotThreadsRequest request) =>
 this.Dispatcher.DispatchAsync <INodesHotThreadsRequest, NodesHotThreadsRequestParameters, NodesHotThreadsResponse, INodesHotThreadsResponse>(
     request,
     new NodesHotThreadConverter(DeserializeNodesHotThreadResponse),
     (p, d) => this.LowLevelDispatch.NodesHotThreadsDispatchAsync <NodesHotThreadsResponse>(p)
     );
 public static void Update(IConnectionSettingsValues settings, ElasticsearchPathInfo <NodesHotThreadsRequestParameters> pathInfo, INodesHotThreadsRequest request)
 {
     pathInfo.HttpMethod = PathInfoHttpMethod.GET;
 }
Пример #13
0
 /// <inheritdoc />
 public INodesHotThreadsResponse NodesHotThreads(INodesHotThreadsRequest request) =>
 Dispatcher.Dispatch <INodesHotThreadsRequest, NodesHotThreadsRequestParameters, NodesHotThreadsResponse>(
     request,
     new NodesHotThreadConverter(DeserializeNodesHotThreadResponse),
     (p, d) => LowLevelDispatch.NodesHotThreadsDispatch <NodesHotThreadsResponse>(p)
     );
		/// <inheritdoc />
		public Task<INodesHotThreadsResponse> NodesHotThreadsAsync(INodesHotThreadsRequest nodesHotThreadsRequest)
		{
			return this.DispatchAsync<INodesHotThreadsRequest, NodesHotThreadsRequestParameters, NodesHotThreadsResponse, INodesHotThreadsResponse>(
				nodesHotThreadsRequest,
				(p, d) => this.RawDispatch.NodesHotThreadsDispatchAsync<NodesHotThreadsResponse>(
					p.DeserializationState(new NodesHotThreadConverter(DeserializeNodesHotThreadResponse)))
			);
		}