Interface IDistributedPipelineSource<T>
Defines a source that can report distributed ownership and partition execution state.
public interface IDistributedPipelineSource<T> : IPipelineSource<T>, IFlowSource<PipelineContainer<T>> where T : PipelineRecord
Type Parameters
TThe pipeline record type produced by the source.
- Inherited Members
Properties
SupportsDistributedExecution
Gets a value indicating whether the source supports distributed execution.
bool SupportsDistributedExecution { get; }
Property Value
TransportName
Gets the transport name reported in distributed metadata.
string TransportName { get; }
Property Value
Methods
GetOwnedPartitions()
Gets the partitions currently owned by the source.
IReadOnlyList<PipelinePartitionLease> GetOwnedPartitions()
Returns
- IReadOnlyList<PipelinePartitionLease>
The owned partition leases.
GetPartitionExecutionStates()
Gets the current execution state for owned partitions.
IReadOnlyList<PipelinePartitionExecutionState> GetPartitionExecutionStates()
Returns
- IReadOnlyList<PipelinePartitionExecutionState>
The partition execution state snapshots.