Class ServerDescription

The client's view of a single server, based on the most recent hello outcome.

Internal type, not meant to be directly instantiated

Hierarchy

  • ServerDescription

Properties

$clusterTime?: ClusterTime
address: string
arbiters: string[]
electionId: null | ObjectId
error: null | MongoError
hosts: string[]
lastUpdateTime: number
lastWriteDate: number
logicalSessionTimeoutMinutes: null | number
maxWireVersion: number
me: null | string
minRoundTripTime: number

The minimum measurement of the last 10 measurements of roundTripTime that have been collected

minWireVersion: number
passives: string[]
primary: null | string
roundTripTime: number
setName: null | string
setVersion: null | number
tags: TagSet
topologyVersion: null | TopologyVersion

Accessors

Methods

Generated using TypeDoc