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
  • Determines if the topology has a definition for the provided address

    internal

    Parameters参数

    • address: string

    Returns返回boolean

update

updateFromSrvPollingEvent

Generated using TypeDoc