Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LeaseInfo

Package version

Describes the properties of a lease.

interface

LeaseInfo

Hierarchy

Index

Properties

epoch

epoch: number
property

{number} epoch The epoch(time) of the lease, which is a value you can use to determine the most recent owner of a partition between competing nodes.

Optional offset

offset: undefined | string
property

{string} offset The offset of the event to be checked in.

owner

owner: string
property

{string} owner The host owner for the partition.

partitionId

partitionId: string
property

{string} partitionId The associated partitionId for which the lease is held.

sequenceNumber

sequenceNumber: number
property

{string} sequenceNumber The sequence number of the event to be checked in.

token

token: string
property

{string} token The lease token that manages concurrency between hosts. You can use this token to guarantee single access to any resource needed by the EPH.

Generated using TypeDoc