| Class | Mongo::Monitoring::Event::ServerDescriptionChanged |
| In: |
lib/mongo/monitoring/event/server_description_changed.rb
|
| Parent: | Mongo::Event::Base |
| address | [R] | @return [ Address ] address The server address. |
| new_description | [R] |
@return [ Server::Description ]
new_description The new
server
description. |
| previous_description | [R] |
@return [ Server::Description ]
previous_description The previous server
description. |
| topology | [R] | @return [ Topology ] topology The topology. |
Create the event.
@example Create the event.
ServerDescriptionChanged.new(address, topology, previous, new)
@param [ Address ] address The server address. @param [ Integer ] topology The topology. @param [ Server::Description ] previous_description The previous description. @param [ Server::Description ] new_description The new description.
@since 2.4.0