MongoClientinterface instead. This interface will be removed on or after the 1.3.0 release.
@Deprecated public interface Mongo extends MongoClient
|Modifier and Type||Method and Description|
Returns the configuration being used by the logical MongoDB connection.
asSerializedClient, getDatabase, listDatabaseNames, listDatabases, restart, restart, restart
@Deprecated Mongo asSerializedMongo()
While the returned Mongo instance is thread safe it is intended to be used by a single logical thread to ensure requests issued to the MongoDB server are guaranteed to be processed in the same order they are requested.
Creation of the serial instance is lightweight with minimal object allocation and no server interaction.
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.