ConnectionReadyEvent | mongodb (original) (raw)
An event published when a connection is ready for use
Hierarchy (view full)
- ConnectionPoolMonitoringEvent
- ConnectionReadyEvent
Index
Properties
address
address: string
The address (host/port pair) of the pool
connectionId
connectionId: number | ""
The id of the connection
durationMS
durationMS: number
The time it took to establish the connection. In accordance with the definition of establishment of a connection specified by ConnectionPoolOptions.maxConnecting
, it is the time elapsed between emitting a ConnectionCreatedEvent
and emitting this event as part of the same checking out.
Naturally, when establishing a connection is part of checking out, this duration is not greater thanConnectionCheckedOutEvent.duration
.
time
time: Date
A timestamp when the event was created
Settings
Member Visibility
- Protected
- Inherited
- External
- Alpha
- Beta
Theme