| 
 | MongoDB\Driver\Server::getLatencyReturns the latency of this server Description
   final public string MongoDB\Driver\Server::getLatency
    ( void
   ) Returns the latency of this server (i.e. the client's measured » round trip time of an ismaster command). ParametersThis function has no parameters. Return ValuesReturns the latency of this server. Errors/Exceptions
 ExamplesExample #1 MongoDB\Driver\Server::getLatency example 
<?phpThe above example will output something similar to: int(592) See Also
 |