Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseLease

Package version

Describes the base lease.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

isOwned

isOwned: boolean = false
property

{boolean} isOwned Indicates wether the lease is owned. true if it is owned by someone; false otherwise.

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.

readonly

Methods

getInfo

isOwnedBy

  • isOwnedBy(possibleOwner: string): boolean
  • Compares possibleOwner against this.owner

    Parameters

    • possibleOwner: string

      The owner name to check.

    Returns boolean

    boolean - true if possibleOwner is the same as this.owner, false otherwise.

Generated using TypeDoc