class Mongo::Monitoring::Event::Cmap::ConnectionCheckOutStarted
Event
published when a thread begins attempting to check a connection out of a pool.
@since 2.9.0
Attributes
address[R]
@return [ Mongo::Address
] address The address of the server that the connection will
connect to.
@since 2.9.0
Public Class Methods
new(address)
click to toggle source
Create the event.
@param [ Address
] address
@since 2.9.0 @api private
# File lib/mongo/monitoring/event/cmap/connection_check_out_started.rb, line 37 def initialize(address) @address = address end
Public Instance Methods
summary()
click to toggle source
Returns a concise yet useful summary of the event.
@return [ String ] String summary of the event.
@note This method is experimental and subject to change.
@since 2.9.0 @api experimental
# File lib/mongo/monitoring/event/cmap/connection_check_out_started.rb, line 49 def summary "#<#{self.class.name.sub(/^Mongo::Monitoring::Event::Cmap::/, '')} address=#{address}>" end