Method: Mongo::Monitoring::Event::Cmap::PoolCleared#initialize
- Defined in:
- lib/mongo/monitoring/event/cmap/pool_cleared.rb
#initialize(address, service_id: nil) ⇒ PoolCleared
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Create the event.
43 44 45 46 |
# File 'lib/mongo/monitoring/event/cmap/pool_cleared.rb', line 43 def initialize(address, service_id: nil) @address = address @service_id = service_id end |