| Class | Mongo::Monitoring::Event::ServerHeartbeatSucceeded |
| In: |
lib/mongo/monitoring/event/server_heartbeat_succeeded.rb
|
| Parent: | Mongo::Event::Base |
| round_trip_time | -> | duration |
| Alias of round_trip_time. | ||
| address | [R] | @return [ Address ] address The server address. |
| round_trip_time | [R] | @return [ Float ] round_trip_time Duration of ismaster call in seconds. |
Create the event.
@example Create the event.
ServerHeartbeatSucceeded.new(address, duration)
@param [ Address ] address The server address. @param [ Float ] round_trip_time Duration of ismaster call in seconds.
@since 2.7.0 @api private