| Class | Mongo::Monitoring::Event::ServerHeartbeatFailed |
| In: |
lib/mongo/monitoring/event/server_heartbeat_failed.rb
|
| Parent: | Mongo::Event::Base |
| round_trip_time | -> | duration |
| Alias of round_trip_time. | ||
| error | -> | failure |
| Alias of error for SDAM spec compliance. | ||
| address | [R] | @return [ Address ] address The server address. |
| error | [R] | @return [ Exception ] error The exception that occurred in ismaster call. |
| 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