PHP - Manual: MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getDurationMicros
2024-11-15
(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getDurationMicros — Returns the heartbeat's duration in microseconds
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.