A reference to a reactivemongo.core.actors.MongoDBSystem Actor.
Returns a DefaultDB reference using this connection.
Returns a DefaultDB reference using this connection.
The database name.
a failover strategy for sending requests.
Writes a checked write request and wait for a response.
Writes a checked write request and wait for a response.
The request maker.
The future response.
Writes a request and wait for a response.
Writes a request and wait for a response.
The request maker.
The future response.
Closes this MongoConnection (closes all the channels and ends the actors)
Authenticates the connection on the given database.
Closes this MongoConnection (closes all the channels and ends the actors)
Returns a DefaultDB reference using this connection (alias for the apply
method).
Returns a DefaultDB reference using this connection (alias for the apply
method).
The database name.
a failover strategy for sending requests.
A reference to a reactivemongo.core.actors.MongoDBSystem Actor.
Writes a request and drop the response if any.
Writes a request and drop the response if any.
The request maker.
Get a future that will be successful when a primary node is available or times out.
A Mongo Connection.
This is a wrapper around a reference to a reactivemongo.core.actors.MongoDBSystem Actor. Connection here does not mean that there is one open channel to the server. Behind the scene, many connections (channels) are open on all the available servers in the replica set.
Example: