Table of Contents

Class PipelinePartitionLease

Namespace
Pipelinez.Core.Distributed
Assembly
Pipelinez.dll

Represents transport-owned work currently assigned to a pipeline worker.

public sealed class PipelinePartitionLease
Inheritance
PipelinePartitionLease
Inherited Members

Constructors

PipelinePartitionLease(string, string, string, string, string, int?)

Initializes a new partition lease description.

public PipelinePartitionLease(string leaseId, string transportName, string partitionKey, string instanceId, string workerId, int? partitionId = null)

Parameters

leaseId string

The logical lease identifier.

transportName string

The name of the transport that owns the partition.

partitionKey string

The logical partition key.

instanceId string

The host instance identifier.

workerId string

The worker identifier.

partitionId int?

The numeric partition identifier, if one exists.

Properties

InstanceId

Gets the instance identifier of the host that owns the partition.

public string InstanceId { get; }

Property Value

string

LeaseId

Gets the logical lease identifier.

public string LeaseId { get; }

Property Value

string

PartitionId

Gets the numeric partition identifier, if the transport exposes one.

public int? PartitionId { get; }

Property Value

int?

PartitionKey

Gets the logical partition key.

public string PartitionKey { get; }

Property Value

string

TransportName

Gets the transport name that owns the partition.

public string TransportName { get; }

Property Value

string

WorkerId

Gets the worker identifier that owns the partition.

public string WorkerId { get; }

Property Value

string