/// <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>
     );
Example #3
0
 /// <inheritdoc />
 public Task <FlushJobResponse> FlushJobAsync(IFlushJobRequest request, CancellationToken ct = default) =>
 DoRequestAsync <IFlushJobRequest, FlushJobResponse>(request, request.RequestParameters, ct);
Example #4
0
 /// <inheritdoc />
 public FlushJobResponse FlushJob(IFlushJobRequest request) =>
 DoRequest <IFlushJobRequest, FlushJobResponse>(request, request.RequestParameters);
Example #5
0
 public static Task <FlushJobResponse> FlushJobAsync(this IElasticClient client, IFlushJobRequest request, CancellationToken ct = default)
 => client.MachineLearning.FlushJobAsync(request, ct);
Example #6
0
 public static FlushJobResponse FlushJob(this IElasticClient client, IFlushJobRequest request)
 => client.MachineLearning.FlushJob(request);