|
MongoDB\Driver\Server::getLatencyReturns the latency of this server in milliseconds Description
final public integernull MongoDB\Driver\Server::getLatency()
Returns the latency of this server in milliseconds. This is the client's
measured
» round trip time
of a ParametersThis function has no parameters. Return Values
Returns the latency of this server in milliseconds, or Errors/Exceptions
Changelog
ExamplesExample #1 MongoDB\Driver\Server::getLatency example
The above example will output something similar to: int(592) See Also
|