/// <inheritdoc />
 public Task <IFlushJobResponse> FlushJobAsync(IFlushJobRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 Dispatcher.DispatchAsync <IFlushJobRequest, FlushJobRequestParameters, FlushJobResponse, IFlushJobResponse>(
     request,
     cancellationToken,
     LowLevelDispatch.XpackMlFlushJobDispatchAsync <FlushJobResponse>
     );
 /// <inheritdoc />
 public IFlushJobResponse FlushJob(IFlushJobRequest request) =>
 Dispatcher.Dispatch <IFlushJobRequest, FlushJobRequestParameters, FlushJobResponse>(
     request,
     LowLevelDispatch.XpackMlFlushJobDispatch <FlushJobResponse>
     );
Пример #3
0
 /// <inheritdoc />
 public Task <FlushJobResponse> FlushJobAsync(IFlushJobRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IFlushJobRequest, FlushJobResponse>(request, request.RequestParameters, ct);
Пример #4
0
 /// <inheritdoc />
 public FlushJobResponse FlushJob(IFlushJobRequest request) =>
 DoRequest <IFlushJobRequest, FlushJobResponse>(request, request.RequestParameters);
Пример #5
0
 public static Task <FlushJobResponse> FlushJobAsync(this IElasticClient client, IFlushJobRequest request, CancellationToken ct = default)
 => client.MachineLearning.FlushJobAsync(request, ct);
Пример #6
0
 public static FlushJobResponse FlushJob(this IElasticClient client, IFlushJobRequest request)
 => client.MachineLearning.FlushJob(request);