« MongoDB\Driver\ServerDescription::getPort
MongoDB\Driver\ServerDescription::getType »

MongoDB\Driver\ServerDescription::getRoundTripTime

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getRoundTripTime — Returns 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.

エラー / 例外

参考

関連キーワード:
MongoDB   Driver   server   milliseconds   ServerDescription   round   trip   time   getRoundTripTime   getPort   getType   mongodb   final   client   measurement   duration   hello   command   Throws   Exception   InvalidArgumentException   argument   parsing   errors   参考
関連する関数・ページ:
mongodb-driver-server.getserverdescription   mongodb-driver-serverdescription.gethost   mongodb-driver-serverdescription.gettype   mongodb-driver-serverdescription.getport   mongodb-driver-serverdescription.getlastupdatetime   mongodb-driver-serverdescription.gethelloresponse