- getDB
Gets a database object. Users should use
com.mongodb.MongoClient#getDatabase(String) instead. The DB
- <init>
- close
Closes all resources associated with this instance, in particular any open
network connections. Once
- getDatabaseNames
Gets a list of the names of all databases on the connected server.
- dropDatabase
Drops the database if it exists.
- getAddress
Gets the address of the current master
- setWriteConcern
Sets the default write concern to use for write operations executed on any
DBCollection created indi
- getMongoOptions
Returns the mongo options.
Changes to MongoOptions that are done after connection are not reflected
- getServerAddressList
Gets the list of server addresses currently seen by this client. This includes
addresses auto-discov
- addOrphanedCursor
- createCluster
- createCursorCleaningService