MongoDB\Driver\ServerDescription::getRoundTripTime
PHP Manual
PHP Manual»MongoDB\Driver\ServerDescription»MongoDB\Driver\ServerDescription::getRoundTripTime

MongoDB\Driver\ServerDescription::getRoundTripTime

(mongodb >=1.13.0)

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

Beschreibung

final public function 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

To Top