Class: Mongo::Monitoring::Event::TopologyOpening
- Inherits:
-
Object
- Object
- Mongo::Monitoring::Event::TopologyOpening
- Defined in:
- lib/mongo/monitoring/event/topology_opening.rb
Overview
Event fired when the topology is opening.
Instance Attribute Summary collapse
-
#topology ⇒ Topology
readonly
Topology The topology.
Instance Method Summary collapse
-
#initialize(topology) ⇒ TopologyOpening
constructor
Create the event.
Constructor Details
#initialize(topology) ⇒ TopologyOpening
Create the event.
35 36 37 |
# File 'lib/mongo/monitoring/event/topology_opening.rb', line 35 def initialize(topology) @topology = topology end |
Instance Attribute Details
#topology ⇒ Topology (readonly)
Returns topology The topology.
25 26 27 |
# File 'lib/mongo/monitoring/event/topology_opening.rb', line 25 def topology @topology end |