Class ProducerConsumerBackPressure
Simple back pressure implementation that makes sure the minimum max concurrency between producer and consumer
is not amplified by the greedier of the two by more then the backPressureFactor which defaults to 4
Inheritance
ProducerConsumerBackPressure
Assembly: OpenSearch.Client.dll
Syntax
public class ProducerConsumerBackPressure
Methods
|
Edit this page
View Source
Release()
Declaration
|
Edit this page
View Source
WaitAsync(CancellationToken)
Declaration
public Task WaitAsync(CancellationToken token = default)
Parameters
Returns
Extension Methods