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