Method: Mongo::Monitoring::Event::Cmap::ConnectionCreated#summary

Defined in:
lib/mongo/monitoring/event/cmap/connection_created.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.9.0



59
60
61
62
# File 'lib/mongo/monitoring/event/cmap/connection_created.rb', line 59

def summary
  "#<#{self.class.name.sub(/^Mongo::Monitoring::Event::Cmap::/, '')} " +
      "address=#{address} connection_id=#{connection_id}>"
end