MongoDB\Driver\ServerDescription::getRoundTripTime
(mongodb >=1.13.0)
MongoDB\Driver\ServerDescription::getRoundTripTime — Returns the server's round trip time in milliseconds
Beschreibung
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
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
Siehe auch
- MongoDB\Driver\Server::getLatency() - Returns the latency of this server in milliseconds