Table of Contents

Class PipelinePartitionsAssignedEventArgs

Namespace
Pipelinez.Core.Eventing
Assembly
Pipelinez.dll

Contains data for partition-assigned notifications.

public sealed class PipelinePartitionsAssignedEventArgs
Inheritance
PipelinePartitionsAssignedEventArgs
Inherited Members

Constructors

PipelinePartitionsAssignedEventArgs(PipelineRuntimeContext, IReadOnlyList<PipelinePartitionLease>)

Initializes a new partition-assigned payload.

public PipelinePartitionsAssignedEventArgs(PipelineRuntimeContext runtimeContext, IReadOnlyList<PipelinePartitionLease> partitions)

Parameters

runtimeContext PipelineRuntimeContext
partitions IReadOnlyList<PipelinePartitionLease>

Properties

Partitions

Gets the partitions assigned to the worker.

public IReadOnlyList<PipelinePartitionLease> Partitions { get; }

Property Value

IReadOnlyList<PipelinePartitionLease>

RuntimeContext

Gets the current runtime context.

public PipelineRuntimeContext RuntimeContext { get; }

Property Value

PipelineRuntimeContext

WorkerId

Gets the current worker identifier.

public string WorkerId { get; }

Property Value

string