Class WatermarkRequestStrategy
Requests up to the highWatermark when the remainingRequested is below the lowWatermark. This a good strategy when the actor performs work itself.
Implements
Inherited Members
Namespace: Akka.Streams.Actors
Assembly: Akka.Streams.dll
Syntax
public sealed class WatermarkRequestStrategy : IRequestStrategy
Constructors
| Improve this Doc View SourceWatermarkRequestStrategy(Int32)
TBD
Declaration
public WatermarkRequestStrategy(int highWatermark)
Parameters
Type | Name | Description |
---|---|---|
Int32 | highWatermark | TBD |
WatermarkRequestStrategy(Int32, Int32)
TBD
Declaration
public WatermarkRequestStrategy(int highWatermark, int lowWatermark)
Parameters
Type | Name | Description |
---|---|---|
Int32 | highWatermark | TBD |
Int32 | lowWatermark | TBD |
Fields
| Improve this Doc View SourceHighWatermark
TBD
Declaration
public readonly int HighWatermark
Field Value
Type | Description |
---|---|
Int32 |
LowWatermark
TBD
Declaration
public readonly int LowWatermark
Field Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceRequestDemand(Int32)
TBD
Declaration
public int RequestDemand(int remainingRequested)
Parameters
Type | Name | Description |
---|---|---|
Int32 | remainingRequested | TBD |
Returns
Type | Description |
---|---|
Int32 | TBD |