Close all clients and clear the internal map.
Close all clients and clear the internal map.
Close a client connection, without removing it from the internal map.
Close a client connection, without removing it from the internal map.
Get a CodecRegistry from a MongoDatabase.
Get a CodecRegistry from a MongoDatabase.
Get a MongoCollection from a MongoDatabase.
Get a MongoCollection from a MongoDatabase. TODO(jacob): We should get rid of the option to send down a read preference here and just use the one on the query.
Get a set of all connection ids handled by this client manager.
Get a set of all connection ids handled by this client manager.
Get a MongoDatabase from a MongoClient.
Get a MongoDatabase from a MongoClient.
Executes the given function with the specified database.
Executes the given function with the specified database. Throws if the database does not exist.
Executes the given function with the specified database and collection.
Executes the given function with the specified database and collection. Throws if the database does not exist.
MongoConnectionManager for the new async client.