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
| Edit this page View SourceWatermarkRequestStrategy(int)
TBD
Declaration
public WatermarkRequestStrategy(int highWatermark)
Parameters
Type | Name | Description |
---|---|---|
int | highWatermark | TBD |
WatermarkRequestStrategy(int, int)
TBD
Declaration
public WatermarkRequestStrategy(int highWatermark, int lowWatermark)
Parameters
Type | Name | Description |
---|---|---|
int | highWatermark | TBD |
int | lowWatermark | TBD |
Fields
| Edit this page View SourceHighWatermark
TBD
Declaration
public readonly int HighWatermark
Field Value
Type | Description |
---|---|
int |
LowWatermark
TBD
Declaration
public readonly int LowWatermark
Field Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceRequestDemand(int)
TBD
Declaration
public int RequestDemand(int remainingRequested)
Parameters
Type | Name | Description |
---|---|---|
int | remainingRequested | TBD |
Returns
Type | Description |
---|---|
int | TBD |