« MongoDB\Driver\Monitoring\CommandSucceededEvent::getDatabaseName
MongoDB\Driver\Monitoring\CommandSucceededEvent::getHost »

MongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros — Returns the command's duration in microseconds

説明

final public function MongoDB\Driver\Monitoring\CommandSucceededEvent::getDurationMicros(): int

The command's duration is a calculated value that includes the time to send the message and receive the reply from the server.

パラメータ

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

戻り値

Returns the command's duration in microseconds.

エラー / 例外

関連キーワード:
MongoDB   Driver   Monitoring   CommandSucceededEvent   command   duration   microseconds   getDurationMicros   getDatabaseName   getHost   mongodb   final   calculated   includes   time   send   message   receive   reply   server   Throws   Exception   InvalidArgumentException   argument   parsing
関連する関数・ページ:
mongodb-driver-monitoring-commandfailedevent.getdurationmicros   mongodb-driver-monitoring-commandsucceededevent.gethost   mongodb-driver-monitoring-commandsucceededevent.getcommandname   class.mongodb-driver-monitoring-commandsucceededevent   mongodb-driver-monitoring-commandsucceededevent.getdatabasename   mongodb-driver-monitoring-commandsucceededevent.getport