Class PipelineDistributedStatus
- Namespace
- Pipelinez.Core.Distributed
- Assembly
- Pipelinez.dll
Represents the distributed execution status exposed through pipeline status APIs.
public sealed class PipelineDistributedStatus
- Inheritance
-
PipelineDistributedStatus
- Inherited Members
Constructors
PipelineDistributedStatus(PipelineExecutionMode, string, string, IReadOnlyList<PipelinePartitionLease>?, IReadOnlyList<PipelinePartitionExecutionState>?)
Initializes a new distributed status snapshot.
public PipelineDistributedStatus(PipelineExecutionMode executionMode, string instanceId, string workerId, IReadOnlyList<PipelinePartitionLease>? ownedPartitions = null, IReadOnlyList<PipelinePartitionExecutionState>? partitionExecution = null)
Parameters
executionModePipelineExecutionModeinstanceIdstringworkerIdstringownedPartitionsIReadOnlyList<PipelinePartitionLease>partitionExecutionIReadOnlyList<PipelinePartitionExecutionState>
Properties
ExecutionMode
Gets the execution mode currently used by the pipeline.
public PipelineExecutionMode ExecutionMode { get; }
Property Value
InstanceId
Gets the host instance identifier.
public string InstanceId { get; }
Property Value
OwnedPartitions
Gets the partitions currently owned by the worker.
public IReadOnlyList<PipelinePartitionLease> OwnedPartitions { get; }
Property Value
PartitionExecution
Gets the current execution state of owned partitions.
public IReadOnlyList<PipelinePartitionExecutionState> PartitionExecution { get; }
Property Value
WorkerId
Gets the worker identifier.
public string WorkerId { get; }