Class TopologyDescription

Representation of a deployment of servers

Hierarchy

  • TopologyDescription

Constructors

Properties

commonWireVersion: number
compatibilityError?: string
compatible: boolean
heartbeatFrequencyMS: number
localThresholdMS: number
logicalSessionTimeoutMinutes: number
maxElectionId: mongoose.mongo.BSON.ObjectId
maxSetVersion: number
servers: Map<string, ServerDescription>
setName: string
stale: boolean

Accessors

  • get hasDataBearingServers(): boolean
  • Determines if this topology description has a data-bearing server available.

    Returns boolean

  • get hasKnownServers(): boolean
  • Determines if the topology description has any known servers

    Returns boolean

Generated using TypeDoc