Example #1
0
 /// <inheritdoc cref="ClusterAllocationExplain(System.Func{Nest.ClusterAllocationExplainDescriptor,Nest.IClusterAllocationExplainRequest})"/>
 public ClusterAllocationExplainResponse ClusterAllocationExplain(IClusterAllocationExplainRequest request) =>
 DoRequest <IClusterAllocationExplainRequest, ClusterAllocationExplainResponse>(request, request.RequestParameters);
Example #2
0
 /// <inheritdoc cref="ClusterAllocationExplain(System.Func{Nest.ClusterAllocationExplainDescriptor,Nest.IClusterAllocationExplainRequest})"/>
 public Task <ClusterAllocationExplainResponse> ClusterAllocationExplainAsync(
     IClusterAllocationExplainRequest request,
     CancellationToken ct = default
     ) =>
 DoRequestAsync <IClusterAllocationExplainRequest, ClusterAllocationExplainResponse>
     (request, request.RequestParameters, ct);
 /// <inheritdoc/>
 public IClusterAllocationExplainResponse ClusterAllocationExplain(IClusterAllocationExplainRequest request) =>
 this.Dispatcher.Dispatch <IClusterAllocationExplainRequest, ClusterAllocationExplainRequestParameters, ClusterAllocationExplainResponse>(
     request,
     (p, d) => this.LowLevelDispatch.ClusterAllocationExplainDispatch <ClusterAllocationExplainResponse>(p, d)
     );
 /// <inheritdoc/>
 public Task <IClusterAllocationExplainResponse> ClusterAllocationExplainAsync(IClusterAllocationExplainRequest request) =>
 this.Dispatcher.DispatchAsync <IClusterAllocationExplainRequest, ClusterAllocationExplainRequestParameters, ClusterAllocationExplainResponse, IClusterAllocationExplainResponse>(
     request,
     (p, d) => this.LowLevelDispatch.ClusterAllocationExplainDispatchAsync <ClusterAllocationExplainResponse>(p, d)
     );
 /// <inheritdoc />
 public Task <IClusterAllocationExplainResponse> ClusterAllocationExplainAsync(IClusterAllocationExplainRequest request,
                                                                               CancellationToken cancellationToken = default(CancellationToken)
                                                                               ) =>
 Dispatcher
 .DispatchAsync <IClusterAllocationExplainRequest, ClusterAllocationExplainRequestParameters, ClusterAllocationExplainResponse,
                 IClusterAllocationExplainResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.ClusterAllocationExplainDispatchAsync <ClusterAllocationExplainResponse>(p, d, c)
     );
Example #6
0
 public static Task <ClusterAllocationExplainResponse> ClusterAllocationExplainAsync(this IElasticClient client,
                                                                                     IClusterAllocationExplainRequest request,
                                                                                     CancellationToken ct = default
                                                                                     )
 => client.Cluster.AllocationExplainAsync(request, ct);
Example #7
0
 public static ClusterAllocationExplainResponse ClusterAllocationExplain(this IElasticClient client, IClusterAllocationExplainRequest request)
 => client.Cluster.AllocationExplain(request);
		/// <inheritdoc/>
		public Task<IClusterAllocationExplainResponse> ClusterAllocationExplainAsync(IClusterAllocationExplainRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
			this.Dispatcher.DispatchAsync<IClusterAllocationExplainRequest, ClusterAllocationExplainRequestParameters, ClusterAllocationExplainResponse, IClusterAllocationExplainResponse>(
				request,
				cancellationToken,
				(p, d, c) => this.LowLevelDispatch.ClusterAllocationExplainDispatchAsync<ClusterAllocationExplainResponse>(p, d, c)
			);
		/// <inheritdoc/>
		public IClusterAllocationExplainResponse ClusterAllocationExplain(IClusterAllocationExplainRequest request) =>
			this.Dispatcher.Dispatch<IClusterAllocationExplainRequest, ClusterAllocationExplainRequestParameters, ClusterAllocationExplainResponse>(
				request,
				(p, d) => this.LowLevelDispatch.ClusterAllocationExplainDispatch<ClusterAllocationExplainResponse>(p, d)
			);