/// <inheritdoc cref="CcrStats(System.Func{Nest.CcrStatsDescriptor,Nest.ICcrStatsRequest})" />
 public Task <ICcrStatsResponse> CcrStatsAsync(ICcrStatsRequest request, CancellationToken cancellationToken = default) =>
 Dispatcher.DispatchAsync <ICcrStatsRequest, CcrStatsRequestParameters, CcrStatsResponse, ICcrStatsResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.CcrStatsDispatchAsync <CcrStatsResponse>(p, c)
     );
 /// <inheritdoc cref="CcrStats(System.Func{Nest.CcrStatsDescriptor,Nest.ICcrStatsRequest})" />
 public ICcrStatsResponse CcrStats(ICcrStatsRequest request) =>
 Dispatcher.Dispatch <ICcrStatsRequest, CcrStatsRequestParameters, CcrStatsResponse>(
     request,
     (p, d) => LowLevelDispatch.CcrStatsDispatch <CcrStatsResponse>(p)
     );
 /// <inheritdoc cref="CcrStats(System.Func{Nest.CcrStatsDescriptor,Nest.ICcrStatsRequest})" />
 public Task <CcrStatsResponse> CcrStatsAsync(ICcrStatsRequest request, CancellationToken ct = default) =>
 DoRequestAsync <ICcrStatsRequest, CcrStatsResponse>(request, request.RequestParameters, ct);
 /// <inheritdoc cref="CcrStats(System.Func{Nest.CcrStatsDescriptor,Nest.ICcrStatsRequest})" />
 public CcrStatsResponse CcrStats(ICcrStatsRequest request) =>
 DoRequest <ICcrStatsRequest, CcrStatsResponse>(request, request.RequestParameters);
Beispiel #5
0
 public static Task <CcrStatsResponse> CcrStatsAsync(this IElasticClient client, ICcrStatsRequest request, CancellationToken ct = default)
 => client.CrossClusterReplication.StatsAsync(request, ct);
Beispiel #6
0
 public static CcrStatsResponse CcrStats(this IElasticClient client, ICcrStatsRequest request)
 => client.CrossClusterReplication.Stats(request);