| PHP » GoLang | login |
            register |
            
            about | 
| GoLang MongoDB\Driver\Server::getLatency
                                request it (508)
                            GoLang replacement for PHP's MongoDB\Driver\Server::getLatency
                            [edit | history] 
                             PHP MongoDB\Driver\Server::getLatencyPHP original manual for MongoDB\Driver\Server::getLatency [ show | php.net ]MongoDB\Driver\Server::getLatency(mongodb >=1.0.0) MongoDB\Driver\Server::getLatency — Returns 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
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |