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

Опис

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.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the server's round trip time in milliseconds.

Помилки/виключення

Прогляньте також

To Top