Table of Contents

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

bool

OverflowPolicy

Gets the default overflow policy used when publication encounters saturation.

public PipelineOverflowPolicy OverflowPolicy { get; init; }

Property Value

PipelineOverflowPolicy

PublishTimeout

Gets the default timeout used while waiting for capacity.

public TimeSpan? PublishTimeout { get; init; }

Property Value

TimeSpan?

SaturationWarningThreshold

Gets the saturation ratio threshold that should be treated as a warning level.

public double SaturationWarningThreshold { get; init; }

Property Value

double

Methods

Validate()

Validates the configured options.

public PipelineFlowControlOptions Validate()

Returns

PipelineFlowControlOptions

The validated options instance.