Module: Mongo::Event
- Defined in:
- lib/mongo/event.rb,
lib/mongo/event/base.rb,
lib/mongo/event/listeners.rb,
lib/mongo/event/publisher.rb,
lib/mongo/event/subscriber.rb
Defined Under Namespace
Modules: Publisher, Subscriber Classes: Base, Listeners
Constant Summary collapse
- STANDALONE_DISCOVERED =
Deprecated.
Will be removed in 3.0
When a standalone is discovered.
'standalone_discovered'.freeze
- PRIMARY_ELECTED =
Deprecated.
Will be removed in 3.0
When a server is elected primary.
'primary_elected'.freeze
- MEMBER_DISCOVERED =
Deprecated.
Will be removed in 3.0
When a server is discovered to be a member of a topology.
'member_discovered'.freeze
- DESCRIPTION_CHANGED =
Deprecated.
Will be removed in 3.0
When a server is to be removed from a cluster.
'description_changed'.freeze