MongoDB\Driver\ServerDescription::getLastUpdateTime

Returns the server's last update time in microseconds

説明

final public int MongoDB\Driver\ServerDescription::getLastUpdateTime()

Returns the server's last update time in microseconds.

注意: The returned value is a monotonic timestamp, which starts at an arbitrary point. As such, it is only suitable to compare with other return values from MongoDB\Driver\ServerDescription::getLastUpdateTime.

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the server's last update time in microseconds.

エラー / 例外

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.