Table of Contents

Class PipelinePartitionsRevokedEventArgs

Namespace
Pipelinez.Core.Eventing
Assembly
Pipelinez.dll

Contains data for partition-revoked notifications.

public sealed class PipelinePartitionsRevokedEventArgs
Inheritance
PipelinePartitionsRevokedEventArgs
Inherited Members

Constructors

PipelinePartitionsRevokedEventArgs(PipelineRuntimeContext, IReadOnlyList<PipelinePartitionLease>)

Initializes a new partition-revoked payload.

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

Parameters

runtimeContext PipelineRuntimeContext
partitions IReadOnlyList<PipelinePartitionLease>

Properties

Partitions

Gets the partitions revoked from 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