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
leaseIdstringThe logical lease identifier.
transportNamestringThe name of the transport that owns the partition.
partitionKeystringThe logical partition key.
instanceIdstringThe host instance identifier.
workerIdstringThe worker identifier.
partitionIdint?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
LeaseId
Gets the logical lease identifier.
public string LeaseId { get; }
Property Value
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
TransportName
Gets the transport name that owns the partition.
public string TransportName { get; }
Property Value
WorkerId
Gets the worker identifier that owns the partition.
public string WorkerId { get; }