Class ReindexRethrottleDescriptor
Descriptor for ReindexRethrottle
https://opensearch.org/docs/latest
Inheritance
RequestDescriptorBase<ReindexRethrottleDescriptor, ReindexRethrottleRequestParameters, IReindexRethrottleRequest>
ReindexRethrottleDescriptor
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class ReindexRethrottleDescriptor : RequestDescriptorBase<ReindexRethrottleDescriptor, ReindexRethrottleRequestParameters, IReindexRethrottleRequest>, IDescriptor, IReindexRethrottleRequest, IRequest<ReindexRethrottleRequestParameters>, IRequest
Constructors
| Edit this page View SourceReindexRethrottleDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
Declaration
protected ReindexRethrottleDescriptor()
ReindexRethrottleDescriptor(TaskId)
/_reindex/{task_id}/_rethrottle
Declaration
public ReindexRethrottleDescriptor(TaskId taskId)
Parameters
Type | Name | Description |
---|---|---|
TaskId | taskId | this parameter is required |
Methods
| Edit this page View SourceRequestsPerSecond(long?)
The throttle for this request in sub-requests per second.
Declaration
public ReindexRethrottleDescriptor RequestsPerSecond(long? requestspersecond)
Parameters
Type | Name | Description |
---|---|---|
long? | requestspersecond |
Returns
Type | Description |
---|---|
ReindexRethrottleDescriptor |