Method: Mongo::Server::Monitor#stop_push_monitor!

Defined in:
lib/mongo/server/monitor.rb

#stop_push_monitor!Object

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.

Since:

  • 2.0.0



173
174
175
176
177
178
179
180
# File 'lib/mongo/server/monitor.rb', line 173

def stop_push_monitor!
  @update_mutex.synchronize do
    if @push_monitor
      @push_monitor.stop!
      @push_monitor = nil
    end
  end
end