Exemplo n.º 1
0
 /// <inheritdoc/>
 public Task <IRecoveryStatusResponse> RecoveryStatusAsync(IRecoveryStatusRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 this.Dispatcher.DispatchAsync <IRecoveryStatusRequest, RecoveryStatusRequestParameters, RecoveryStatusResponse, IRecoveryStatusResponse>(
     request,
     cancellationToken,
     new RecoveryStatusConverter(DeserializeRecoveryStatusResponse),
     (p, d, c) => this.LowLevelDispatch.IndicesRecoveryDispatchAsync <RecoveryStatusResponse>(p, c)
     );
Exemplo n.º 2
0
 /// <inheritdoc />
 public Task <IRecoveryStatusResponse> RecoveryStatusAsync(IRecoveryStatusRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IRecoveryStatusRequest, RecoveryStatusRequestParameters, RecoveryStatusResponse, IRecoveryStatusResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.IndicesRecoveryDispatchAsync <RecoveryStatusResponse>(p, c)
     );
 /// <inheritdoc />
 public Task <IRecoveryStatusResponse> RecoveryStatusAsync(IRecoveryStatusRequest statusRequest)
 {
     return(this.DispatchAsync <IRecoveryStatusRequest, RecoveryStatusRequestParameters, RecoveryStatusResponse, IRecoveryStatusResponse>(
                statusRequest,
                (p, d) => this.RawDispatch.IndicesRecoveryDispatchAsync <RecoveryStatusResponse>(
                    p.DeserializationState(new RecoveryStatusConverter(DeserializeRecoveryStatusResponse))
                    )
                ));
 }
		/// <inheritdoc />
		public Task<IRecoveryStatusResponse> RecoveryStatusAsync(IRecoveryStatusRequest statusRequest)
		{
			return this.DispatchAsync<IRecoveryStatusRequest, RecoveryStatusRequestParameters, RecoveryStatusResponse, IRecoveryStatusResponse>(
				statusRequest,
				(p, d) => this.RawDispatch.IndicesRecoveryDispatchAsync<RecoveryStatusResponse>(
					p.DeserializationState(new RecoveryStatusConverter(DeserializeRecoveryStatusResponse))
				)
			);
		}
 public static Task <RecoveryStatusResponse> RecoveryStatusAsync(this IElasticClient client, IRecoveryStatusRequest request,
                                                                 CancellationToken ct = default
                                                                 )
 => client.Indices.RecoveryStatusAsync(request, ct);
 public static RecoveryStatusResponse RecoveryStatus(this IElasticClient client, IRecoveryStatusRequest request)
 => client.Indices.RecoveryStatus(request);
 /// <inheritdoc />
 public Task <RecoveryStatusResponse> RecoveryStatusAsync(IRecoveryStatusRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IRecoveryStatusRequest, RecoveryStatusResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc />
 public RecoveryStatusResponse RecoveryStatus(IRecoveryStatusRequest request) =>
 DoRequest <IRecoveryStatusRequest, RecoveryStatusResponse>(request, request.RequestParameters);
		/// <inheritdoc/>
		public Task<IRecoveryStatusResponse> RecoveryStatusAsync(IRecoveryStatusRequest request) => 
			this.Dispatcher.DispatchAsync<IRecoveryStatusRequest, RecoveryStatusRequestParameters, RecoveryStatusResponse, IRecoveryStatusResponse>(
				request,
				new RecoveryStatusConverter(DeserializeRecoveryStatusResponse),
				(p, d) => this.LowLevelDispatch.IndicesRecoveryDispatchAsync<RecoveryStatusResponse>(p)
			);
 public static void Update(ElasticsearchPathInfo <RecoveryStatusRequestParameters> pathInfo, IRecoveryStatusRequest request)
 {
     pathInfo.HttpMethod = PathInfoHttpMethod.GET;
 }
Exemplo n.º 11
0
 /// <inheritdoc />
 public IRecoveryStatusResponse RecoveryStatus(IRecoveryStatusRequest request) =>
 Dispatcher.Dispatch <IRecoveryStatusRequest, RecoveryStatusRequestParameters, RecoveryStatusResponse>(
     request,
     (p, d) => LowLevelDispatch.IndicesRecoveryDispatch <RecoveryStatusResponse>(p)
     );
Exemplo n.º 12
0
 /// <inheritdoc/>
 public IRecoveryStatusResponse RecoveryStatus(IRecoveryStatusRequest request) =>
 this.Dispatcher.Dispatch <IRecoveryStatusRequest, RecoveryStatusRequestParameters, RecoveryStatusResponse>(
     request,
     new RecoveryStatusConverter(DeserializeRecoveryStatusResponse),
     (p, d) => this.LowLevelDispatch.IndicesRecoveryDispatch <RecoveryStatusResponse>(p)
     );