MongoDB\Driver\ServerDescription::getRoundTripTime

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getRoundTripTimeReturns the server's round trip time in milliseconds

Beschreibung

final public MongoDB\Driver\ServerDescription::getRoundTripTime(): ?int

Returns the server's round trip time in milliseconds. This is the client's measurement of the duration of a » hello command.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the server's round trip time in milliseconds.

Fehler/Exceptions

Siehe auch