Table of Contents

Struct IngestionThrottleDecision

Namespace
Qavren.Edge.Ingestion
Assembly
Qavren.Edge.Ingestion.dll

The tri-state spec 10.2's table produces. Pause wins over Delay wins over BatchSize; Reason is one of that table's strings and becomes IngestionRunResult.SuspendReason on a suspend.

public readonly record struct IngestionThrottleDecision : IEquatable<IngestionThrottleDecision>
Implements
Inherited Members

Constructors

IngestionThrottleDecision(int, TimeSpan, bool, string?)

The tri-state spec 10.2's table produces. Pause wins over Delay wins over BatchSize; Reason is one of that table's strings and becomes IngestionRunResult.SuspendReason on a suspend.

Properties

BatchSize

The batch to use for the next write window. Positive.

Delay

How long to wait first. Zero for none.

Pause

Stop ingesting for now.

Reason

The table's reason string, or null when proceeding.

Methods

Proceed(int)

No signal: the configured batch, no delay, no pause.