Clear the HashMap.
Define a Mongo db using a MongoDatabase instance.
Remove a specific ConnectionIdentifier from the HashMap.
Executes function f with the mongo database identified by name.
Executes function f with the mongo database identified by name.
Executes function f with the collection named collectionName from
the mongo database identified by name.
Executes function f with the collection named collectionName from
the mongo database identified by name.
Async version of MongoDB.
You should only have one instance of MongoClient in a JVM.
Example: