@@ -6,38 +6,54 @@ namespace Nest
66{
77 public partial interface IElasticClient
88 {
9- /// <inheritdoc/>
10- IReindexRethrottleResponse ReindexRethrottle ( Func < ReindexRethrottleDescriptor , IReindexRethrottleRequest > selector ) ;
11-
12- /// <inheritdoc/>
13- IReindexRethrottleResponse ReindexRethrottle ( IReindexRethrottleRequest request ) ;
14-
15- /// <inheritdoc/>
16- Task < IReindexRethrottleResponse > ReindexRethrottleAsync ( Func < ReindexRethrottleDescriptor , IReindexRethrottleRequest > selector ) ;
17-
18- /// <inheritdoc/>
19- Task < IReindexRethrottleResponse > ReindexRethrottleAsync ( IReindexRethrottleRequest request ) ;
9+ /// <summary>
10+ /// Rethrottle an existing reindex or update by query task
11+ /// </summary>
12+ IReindexRethrottleResponse Rethrottle ( Func < ReindexRethrottleDescriptor , IReindexRethrottleRequest > selector ) ;
13+
14+ /// <summary>
15+ /// Rethrottle an existing reindex or update by query task
16+ /// </summary>
17+ IReindexRethrottleResponse Rethrottle ( IReindexRethrottleRequest request ) ;
18+
19+ /// <summary>
20+ /// Rethrottle an existing reindex or update by query task
21+ /// </summary>
22+ Task < IReindexRethrottleResponse > RethrottleAsync ( Func < ReindexRethrottleDescriptor , IReindexRethrottleRequest > selector ) ;
23+
24+ /// <summary>
25+ /// Rethrottle an existing reindex or update by query task
26+ /// </summary>
27+ Task < IReindexRethrottleResponse > RethrottleAsync ( IReindexRethrottleRequest request ) ;
2028 }
2129
2230 public partial class ElasticClient
2331 {
24- /// <inheritdoc/>
25- public IReindexRethrottleResponse ReindexRethrottle ( Func < ReindexRethrottleDescriptor , IReindexRethrottleRequest > selector ) =>
26- this . ReindexRethrottle ( selector . InvokeOrDefault ( new ReindexRethrottleDescriptor ( ) ) ) ;
27-
28- /// <inheritdoc/>
29- public IReindexRethrottleResponse ReindexRethrottle ( IReindexRethrottleRequest request ) =>
32+ /// <summary>
33+ /// Rethrottle an existing reindex or update by query task
34+ /// </summary>
35+ public IReindexRethrottleResponse Rethrottle ( Func < ReindexRethrottleDescriptor , IReindexRethrottleRequest > selector ) =>
36+ this . Rethrottle ( selector . InvokeOrDefault ( new ReindexRethrottleDescriptor ( ) ) ) ;
37+
38+ /// <summary>
39+ /// Rethrottle an existing reindex or update by query task
40+ /// </summary>
41+ public IReindexRethrottleResponse Rethrottle ( IReindexRethrottleRequest request ) =>
3042 this . Dispatcher . Dispatch < IReindexRethrottleRequest , ReindexRethrottleRequestParameters , ReindexRethrottleResponse > (
3143 request ,
3244 ( p , d ) => this . LowLevelDispatch . ReindexRethrottleDispatch < ReindexRethrottleResponse > ( p )
3345 ) ;
3446
35- /// <inheritdoc/>
36- public Task < IReindexRethrottleResponse > ReindexRethrottleAsync ( Func < ReindexRethrottleDescriptor , IReindexRethrottleRequest > selector ) =>
37- this . ReindexRethrottleAsync ( selector . InvokeOrDefault ( new ReindexRethrottleDescriptor ( ) ) ) ;
47+ /// <summary>
48+ /// Rethrottle an existing reindex or update by query task
49+ /// </summary>
50+ public Task < IReindexRethrottleResponse > RethrottleAsync ( Func < ReindexRethrottleDescriptor , IReindexRethrottleRequest > selector ) =>
51+ this . RethrottleAsync ( selector . InvokeOrDefault ( new ReindexRethrottleDescriptor ( ) ) ) ;
3852
39- /// <inheritdoc/>
40- public Task < IReindexRethrottleResponse > ReindexRethrottleAsync ( IReindexRethrottleRequest request ) =>
53+ /// <summary>
54+ /// Rethrottle an existing reindex or update by query task
55+ /// </summary>
56+ public Task < IReindexRethrottleResponse > RethrottleAsync ( IReindexRethrottleRequest request ) =>
4157 this . Dispatcher . DispatchAsync < IReindexRethrottleRequest , ReindexRethrottleRequestParameters , ReindexRethrottleResponse , IReindexRethrottleResponse > (
4258 request ,
4359 ( p , d ) => this . LowLevelDispatch . ReindexRethrottleDispatchAsync < ReindexRethrottleResponse > ( p )
0 commit comments