Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TopologyDescription

Representation of a deployment of servers

Hierarchy

  • TopologyDescription

Index

Constructors

constructor

Properties

Optional commonWireVersion

commonWireVersion: number

Optional compatibilityError

compatibilityError: string

compatible

compatible: boolean

heartbeatFrequencyMS

heartbeatFrequencyMS: number

localThresholdMS

localThresholdMS: number

Optional logicalSessionTimeoutMinutes

logicalSessionTimeoutMinutes: number

Optional maxElectionId

maxElectionId: ObjectId

Optional maxSetVersion

maxSetVersion: number

servers

servers: Map<string, ServerDescription>

Optional setName

setName: string

stale

stale: boolean

type

Accessors

error

hasDataBearingServers

  • get hasDataBearingServers(): boolean

hasKnownServers

  • get hasKnownServers(): boolean

Methods

hasServer

  • hasServer(address: string): boolean

update

updateFromSrvPollingEvent

Generated using TypeDoc