Class PipelineComponentFlowStatus
- Namespace
- Pipelinez.Core.FlowControl
- Assembly
- Pipelinez.dll
Describes the flow-control state of a single pipeline component.
public sealed class PipelineComponentFlowStatus
- Inheritance
-
PipelineComponentFlowStatus
- Inherited Members
Constructors
PipelineComponentFlowStatus(string, int, int?)
Initializes a new component flow-control snapshot.
public PipelineComponentFlowStatus(string name, int approximateQueueDepth, int? boundedCapacity)
Parameters
Properties
ApproximateQueueDepth
Gets the approximate number of buffered items for the component.
public int ApproximateQueueDepth { get; }
Property Value
BoundedCapacity
Gets the component's bounded capacity, if one is configured.
public int? BoundedCapacity { get; }
Property Value
- int?
IsSaturated
Gets a value indicating whether the component is currently saturated.
public bool IsSaturated { get; }
Property Value
Name
Gets the component name.
public string Name { get; }
Property Value
SaturationRatio
Gets the saturation ratio for the component when a bounded capacity exists.
public double SaturationRatio { get; }