Method: Mongo::Monitoring::Event::TopologyChanged#previous_topology

Defined in:
lib/mongo/monitoring/event/topology_changed.rb

#previous_topologyCluster::Topology (readonly)

Returns previous_topology The previous topology.

Returns:

Since:

  • 2.4.0



28
29
30
# File 'lib/mongo/monitoring/event/topology_changed.rb', line 28

def previous_topology
  @previous_topology
end