Module: Mongo::Event

Defined in:
build/ruby-driver-v2.19/lib/mongo/event.rb,
build/ruby-driver-v2.19/lib/mongo/event/base.rb,
build/ruby-driver-v2.19/lib/mongo/event/listeners.rb,
build/ruby-driver-v2.19/lib/mongo/event/publisher.rb,
build/ruby-driver-v2.19/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.

Since:

  • 2.0.6

'standalone_discovered'.freeze
PRIMARY_ELECTED =
Deprecated.

Will be removed in 3.0

When a server is elected primary.

Since:

  • 2.0.0

'primary_elected'.freeze
MEMBER_DISCOVERED =
Deprecated.

Will be removed in 3.0

When a server is discovered to be a member of a topology.

Since:

  • 2.4.0

'member_discovered'.freeze
DESCRIPTION_CHANGED =
Deprecated.

Will be removed in 3.0

When a server is to be removed from a cluster.

Since:

  • 2.0.6

'description_changed'.freeze