/// <inheritdoc />
		public Task<IIndicesOperationResponse> CloseIndexAsync(ICloseIndexRequest closeIndexRequest)
		{
			return this.DispatchAsync<ICloseIndexRequest, CloseIndexRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>(
					closeIndexRequest,
					(p, d) => this.RawDispatch.IndicesCloseDispatchAsync<IndicesOperationResponse>(p)
				);
		}
		/// <inheritdoc />
		public IIndicesOperationResponse CloseIndex(ICloseIndexRequest closeIndexRequest)
		{
			return this.Dispatch<ICloseIndexRequest, CloseIndexRequestParameters, IndicesOperationResponse>(
				closeIndexRequest,
				(p, d) => this.RawDispatch.IndicesCloseDispatch<IndicesOperationResponse>(p)
			);
		}
		/// <inheritdoc/>
		public Task<IIndicesOperationResponse> CloseIndexAsync(ICloseIndexRequest request) => 
			this.Dispatcher.DispatchAsync<ICloseIndexRequest, CloseIndexRequestParameters, IndicesOperationResponse, IIndicesOperationResponse>(
				request,
				(p, d) => this.LowLevelDispatch.IndicesCloseDispatchAsync<IndicesOperationResponse>(p)
			);
		/// <inheritdoc/>
		public IIndicesOperationResponse CloseIndex(ICloseIndexRequest request) => 
			this.Dispatcher.Dispatch<ICloseIndexRequest, CloseIndexRequestParameters, IndicesOperationResponse>(
				request,
				(p, d) => this.LowLevelDispatch.IndicesCloseDispatch<IndicesOperationResponse>(p)
			);
 /// <inheritdoc />
 public Task <CloseIndexResponse> CloseIndexAsync(ICloseIndexRequest request, CancellationToken ct = default) =>
 DoRequestAsync <ICloseIndexRequest, CloseIndexResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc />
 public CloseIndexResponse CloseIndex(ICloseIndexRequest request) =>
 DoRequest <ICloseIndexRequest, CloseIndexResponse>(request, request.RequestParameters);
Beispiel #7
0
 /// <inheritdoc />
 public ICloseIndexResponse CloseIndex(ICloseIndexRequest request) =>
 Dispatcher.Dispatch <ICloseIndexRequest, CloseIndexRequestParameters, CloseIndexResponse>(
     request,
     (p, d) => LowLevelDispatch.IndicesCloseDispatch <CloseIndexResponse>(p)
     );
Beispiel #8
0
 /// <inheritdoc/>
 public Task <ICloseIndexResponse> CloseIndexAsync(ICloseIndexRequest request) =>
 this.Dispatcher.DispatchAsync <ICloseIndexRequest, CloseIndexRequestParameters, CloseIndexResponse, ICloseIndexResponse>(
     request,
     (p, d) => this.LowLevelDispatch.IndicesCloseDispatchAsync <CloseIndexResponse>(p)
     );
 /// <inheritdoc/>
 public Task <ICloseIndexResponse> CloseIndexAsync(ICloseIndexRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 this.Dispatcher.DispatchAsync <ICloseIndexRequest, CloseIndexRequestParameters, CloseIndexResponse, ICloseIndexResponse>(
     request,
     cancellationToken,
     (p, d, c) => this.LowLevelDispatch.IndicesCloseDispatchAsync <CloseIndexResponse>(p, c)
     );
 public static void Update(ElasticsearchPathInfo <CloseIndexRequestParameters> pathInfo, ICloseIndexRequest request)
 {
     pathInfo.HttpMethod = PathInfoHttpMethod.POST;
 }