/// <inheritdoc /> public Task <IClearCacheResponse> ClearCacheAsync( Indices indices, Func <ClearCacheDescriptor, IClearCacheRequest> selector = null, CancellationToken cancellationToken = default(CancellationToken) ) => ClearCacheAsync(selector.InvokeOrDefault(new ClearCacheDescriptor().Index(indices)), cancellationToken);
/// <inheritdoc /> public IClearCacheResponse ClearCache(Indices indices, Func <ClearCacheDescriptor, IClearCacheRequest> selector = null) => Dispatcher.Dispatch <IClearCacheRequest, ClearCacheRequestParameters, ClearCacheResponse>( selector.InvokeOrDefault(new ClearCacheDescriptor().Index(indices)), (p, d) => LowLevelDispatch.IndicesClearCacheDispatch <ClearCacheResponse>(p) );
/// <inheritdoc /> public ISegmentsResponse Segments(Indices indices, Func <SegmentsDescriptor, ISegmentsRequest> selector = null) => Segments(selector.InvokeOrDefault(new SegmentsDescriptor().Index(indices)));
/// <inheritdoc /> public Task <ISegmentsResponse> SegmentsAsync( Indices indices, Func <SegmentsDescriptor, ISegmentsRequest> selector = null, CancellationToken cancellationToken = default(CancellationToken) ) => SegmentsAsync(selector.InvokeOrDefault(new SegmentsDescriptor().Index(indices)), cancellationToken);
/// <inheritdoc /> public ISyncedFlushResponse SyncedFlush(Indices indices, Func <SyncedFlushDescriptor, ISyncedFlushRequest> selector = null) => SyncedFlush(selector.InvokeOrDefault(new SyncedFlushDescriptor().Index(indices)));