array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'mongodb-driver-serverdescription.getroundtriptime.php', 1 => 'MongoDB\\Driver\\ServerDescription::getRoundTripTime', 2 => 'Returns the server\'s round trip time in milliseconds', ), 'up' => array ( 0 => 'class.mongodb-driver-serverdescription.php', 1 => 'MongoDB\\Driver\\ServerDescription', ), 'prev' => array ( 0 => 'mongodb-driver-serverdescription.getport.php', 1 => 'MongoDB\\Driver\\ServerDescription::getPort', ), 'next' => array ( 0 => 'mongodb-driver-serverdescription.gettype.php', 1 => 'MongoDB\\Driver\\ServerDescription::getType', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/serverdescription/getroundtriptime.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\Driver\ServerDescription::getRoundTripTime

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getRoundTripTimeReturns the server's round trip time in milliseconds

Beschreibung

final public 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.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the server's round trip time in milliseconds.

Fehler/Exceptions

Siehe auch