Class and Description |
---|
com.mongodb.DBAddress
This class is no longer needed, as the driver does not rely on it for anything anymore. Use
ServerAddress instead. |
com.mongodb.MongoOptions
Please use
MongoClientOptions instead. |
com.mongodb.MongoURI
Replaced by
MongoClientURI |
com.mongodb.client.model.ParallelCollectionScanOptions
this is an unused class and there should be no reason to use it
|
com.mongodb.selector.PrimaryServerSelector
Use either
ReadPreferenceServerSelector or WritableServerSelector , depending on your requirements |
Field and Description |
---|
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). |