Class PipelineFlowControlStatus
- Namespace
- Pipelinez.Core.FlowControl
- Assembly
- Pipelinez.dll
Represents the current flow-control state of the pipeline as a whole.
public sealed class PipelineFlowControlStatus
- Inheritance
-
PipelineFlowControlStatus
- Inherited Members
Constructors
PipelineFlowControlStatus(PipelineOverflowPolicy, bool, double, int, int?, IReadOnlyList<PipelineComponentFlowStatus>)
Initializes a new flow-control snapshot.
public PipelineFlowControlStatus(PipelineOverflowPolicy overflowPolicy, bool isSaturated, double saturationRatio, int totalBufferedCount, int? totalCapacity, IReadOnlyList<PipelineComponentFlowStatus> components)
Parameters
overflowPolicyPipelineOverflowPolicyisSaturatedboolsaturationRatiodoubletotalBufferedCountinttotalCapacityint?componentsIReadOnlyList<PipelineComponentFlowStatus>
Properties
Components
Gets the component-level flow snapshots.
public IReadOnlyList<PipelineComponentFlowStatus> Components { get; }
Property Value
IsSaturated
Gets a value indicating whether any component is currently saturated.
public bool IsSaturated { get; }
Property Value
OverflowPolicy
Gets the default overflow policy applied by the pipeline.
public PipelineOverflowPolicy OverflowPolicy { get; }
Property Value
SaturationRatio
Gets the overall saturation ratio across bounded components.
public double SaturationRatio { get; }
Property Value
TotalBufferedCount
Gets the total buffered record count across observed components.
public int TotalBufferedCount { get; }
Property Value
TotalCapacity
Gets the total bounded capacity across observed components, if one exists.
public int? TotalCapacity { get; }
Property Value
- int?