Class and Description |
---|
com.mongodb.MongoOptions
Please use
MongoClientOptions instead. |
com.mongodb.MongoURI
Replaced by
MongoClientURI |
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). |