MongoDB\Driver\ServerDescription::getRoundTripTime
(mongodb >=1.13.0)
MongoDB\Driver\ServerDescription::getRoundTripTime — Returns the server's round trip time in milliseconds
説明
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() - Returns the latency of this server in milliseconds
+add a note
User Contributed Notes
There are no user contributed notes for this page.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google