Share via


ILease Interface

Definition

Represents a lease that is persisted as a document in the lease collection. Leases are used to:

public interface ILease
type ILease = interface
Public Interface ILease

Properties

ConcurrencyToken

Gets the Concurrency Token.

ContinuationToken

Gets or sets the Continuation Token. Continuation Token is used to determine the last processed point of the Change Feed.

Id

Gets the lease Id.

Owner

Gets or sets the host name owner of the lease. The Owner keeps track which IChangeFeedProcessor is currently processing that Partition Key Range.

PartitionId

Gets the partition associated with the lease.

Properties

Gets or sets custom lease properties which can be managed from IParitionLoadBalancingStrategy.

Timestamp

Gets or sets the Timestamp of the lease. Timestamp is used to determine lease expiration.

Applies to