Class: Mongo::Monitoring::Event::Cmap::ConnectionCheckOutStarted
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Base ,
::Mongo::Event::Base
|
|
Instance Chain:
self,
Base ,
::Mongo::Event::Base
|
|
Inherits: |
Mongo::Monitoring::Event::Cmap::Base
|
Defined in: | lib/mongo/monitoring/event/cmap/connection_check_out_started.rb |
Overview
::Mongo::Monitoring::Event
published when a thread begins attempting to check a connection out of a pool.
Class Method Summary
-
.new(address) ⇒ ConnectionCheckOutStarted
constructor
Internal use only
Internal use only
Create the event.
Instance Attribute Summary
- #address ⇒ Mongo::Address readonly
Instance Method Summary
-
#summary ⇒ String
Returns a concise yet useful summary of the event.
::Mongo::Event::Base
- Inherited
#summary | Returns a concise yet useful summary of the event. |
#short_class_name |
Instance Attribute Details
#address ⇒ Mongo::Address (readonly)
# File 'lib/mongo/monitoring/event/cmap/connection_check_out_started.rb', line 32
attr_reader :address
Instance Method Details
#summary ⇒ String
Note:
This method is experimental and subject to change.
Returns a concise yet useful summary of the event.
# File 'lib/mongo/monitoring/event/cmap/connection_check_out_started.rb', line 52
def summary "#<#{self.class.name.sub(/^Mongo::Monitoring::Event::Cmap::/, '')} address=#{address}>" end