Class PipelineFlowControlOptions
- Namespace
- Pipelinez.Core.FlowControl
- Assembly
- Pipelinez.dll
Configures pipeline-wide flow-control behavior.
public sealed class PipelineFlowControlOptions
- Inheritance
-
PipelineFlowControlOptions
- Inherited Members
Properties
EmitSaturationEvents
Gets a value indicating whether saturation change events should be emitted.
public bool EmitSaturationEvents { get; init; }
Property Value
OverflowPolicy
Gets the default overflow policy used when publication encounters saturation.
public PipelineOverflowPolicy OverflowPolicy { get; init; }
Property Value
PublishTimeout
Gets the default timeout used while waiting for capacity.
public TimeSpan? PublishTimeout { get; init; }
Property Value
SaturationWarningThreshold
Gets the saturation ratio threshold that should be treated as a warning level.
public double SaturationWarningThreshold { get; init; }
Property Value
Methods
Validate()
Validates the configured options.
public PipelineFlowControlOptions Validate()
Returns
- PipelineFlowControlOptions
The validated options instance.