Class: Mongo::Monitoring::Event::Cmap::ConnectionCheckOutFailed
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_failed.rb |
Overview
::Mongo::Monitoring::Event
published when a connection is unable to be checked out of a pool.
Constant Summary
-
CONNECTION_ERROR =
:connection_error
-
POOL_CLOSED =
:pool_closed
-
TIMEOUT =
:timeout
Class Method Summary
-
.new(address, reason) ⇒ ConnectionCheckOutFailed
constructor
Internal use only
Internal use only
Create the event.
Instance Attribute Summary
- #address ⇒ Mongo::Address readonly
- #reason ⇒ Symbol 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_failed.rb', line 52
attr_reader :address
#reason ⇒ Symbol (readonly)
# File 'lib/mongo/monitoring/event/cmap/connection_check_out_failed.rb', line 58
attr_reader :reason
Instance Method Details
#summary ⇒ String
Note:
This method is experimental and subject to change.
Returns a concise yet useful summary of the event.