« MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getHost »

MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::getDurationMicros — Returns the heartbeat's duration in microseconds

説明

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

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

パラメータ

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

戻り値

Returns the heartbeat's duration in microseconds.

エラー / 例外

関連キーワード:
MongoDB   Driver   Monitoring   ServerHeartbeatSucceededEvent   heartbeat   duration   microseconds   getDurationMicros   getHost   mongodb   final   calculated   includes   time   send   message   receive   reply   server   Throws   Exception   InvalidArgumentException   argument   parsing   errors
関連する関数・ページ:
class.mongodb-driver-monitoring-serverheartbeatsucceededevent   mongodb-driver-monitoring-serverheartbeatfailedevent.getdurationmicros   mongodb-driver-monitoring-serverheartbeatsucceededevent.gethost   mongodb-driver-monitoring-serverheartbeatsucceededevent.getreply   mongodb-driver-monitoring-commandsucceededevent.getdurationmicros   mongodb-driver-monitoring-commandfailedevent.getdurationmicros