| Class | Mongo::Event::DescriptionChanged |
| In: |
lib/mongo/event/description_changed.rb
|
| Parent: | Base |
| cluster | [R] | @return [ Mongo::Cluster ] cluster The cluster. |
Initialize the new host added event handler.
@example Create the new handler.
ServerAdded.new(cluster)
@param [ Mongo::Cluster ] cluster The cluster to publish from.
@since 2.0.0
This event publishes an event to add the cluster and logs the configuration change.
@param [ Server::Description ] previous_desc Previous server description. @param [ Server::Description ] updated_desc The changed description.
@since 2.0.0