Class and Description |
---|
com.mongodb.DBPointer |
com.mongodb.ReadPreference.TaggedReadPreference
As of release 2.9, replaced by
ReadPreference.secondaryPreferred(DBObject firstTagSet, DBObject... remainingTagSets) |
com.mongodb.util.ThreadPool
This class is no longer in use and should not have been public. It may be removed in a future release.
|
Field and Description |
---|
com.mongodb.Mongo.MAJOR_VERSION
Replaced by
Mongo.getMajorVersion() |
com.mongodb.gridfs.GridFS.MAX_CHUNKSIZE
You can calculate max chunkSize with
a similar formula
Mongo.getMaxBsonObjectSize() - 500*1000.
Please ensure that you left enough space for metadata (500kb is enough). |
com.mongodb.Mongo.MINOR_VERSION
Replaced by
Mongo.getMinorVersion() |
com.mongodb.ReadPreference.PRIMARY
As of release 2.9.0, replaced by
ReadPreference.primary() |
com.mongodb.ReadPreference.SECONDARY
As of release 2.9.0, replaced by
ReadPreference.secondaryPreferred() |
com.mongodb.MongoOptions.slaveOk
Replaced with
ReadPreference.secondaryPreferred() |