Method: Mongo::Monitoring::Event::TopologyChanged#summary

Defined in:
lib/mongo/monitoring/event/topology_changed.rb

#summaryString

Note:

This method is experimental and subject to change.

Returns a concise yet useful summary of the event.

Returns:

  • (String)

    String summary of the event.

Since:

  • 2.7.0



55
56
57
58
59
# File 'lib/mongo/monitoring/event/topology_changed.rb', line 55

def summary
  "#<#{short_class_name}" +
  " prev=#{previous_topology.summary}" +
  " new=#{new_topology.summary}>"
end