public Task <IShrinkIndexResponse> ShrinkIndexAsync(IShrinkIndexRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher.DispatchAsync <IShrinkIndexRequest, ShrinkIndexRequestParameters, ShrinkIndexResponse, IShrinkIndexResponse>( request, cancellationToken, LowLevelDispatch.IndicesShrinkDispatchAsync <ShrinkIndexResponse> );
public IShrinkIndexResponse ShrinkIndex(IShrinkIndexRequest request) => this.Dispatcher.Dispatch <IShrinkIndexRequest, ShrinkIndexRequestParameters, ShrinkIndexResponse>( request, this.LowLevelDispatch.IndicesShrinkDispatch <ShrinkIndexResponse> );
public Task <ShrinkIndexResponse> ShrinkIndexAsync(IShrinkIndexRequest request, CancellationToken ct = default) => DoRequestAsync <IShrinkIndexRequest, ShrinkIndexResponse>(request, request.RequestParameters, ct);
public ShrinkIndexResponse ShrinkIndex(IShrinkIndexRequest request) => DoRequest <IShrinkIndexRequest, ShrinkIndexResponse>(request, request.RequestParameters);
public Task<IShrinkIndexResponse> ShrinkIndexAsync(IShrinkIndexRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync<IShrinkIndexRequest, ShrinkIndexRequestParameters, ShrinkIndexResponse, IShrinkIndexResponse>( request, cancellationToken, this.LowLevelDispatch.IndicesShrinkDispatchAsync<ShrinkIndexResponse> );
public IShrinkIndexResponse ShrinkIndex(IShrinkIndexRequest request) => this.Dispatcher.Dispatch<IShrinkIndexRequest, ShrinkIndexRequestParameters, ShrinkIndexResponse>( request, this.LowLevelDispatch.IndicesShrinkDispatch<ShrinkIndexResponse> );
public static Task <ShrinkIndexResponse> ShrinkIndexAsync(this IElasticClient client, IShrinkIndexRequest request, CancellationToken ct = default ) => client.Indices.ShrinkAsync(request, ct);
public static ShrinkIndexResponse ShrinkIndex(this IElasticClient client, IShrinkIndexRequest request) => client.Indices.Shrink(request);