MongoDB\Driver\ServerDescription::getRoundTripTime

Returns the server's round trip time in milliseconds

説明

final public intnull MongoDB\Driver\ServerDescription::getRoundTripTime()

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.

エラー / 例外

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.

参考

  • MongoDB\Driver\Server::getLatency