MongoDatabase.fsync

Bson fsync(bool async = false)

Performs a filesystem/disk sync of the database on the server.

This method can only be called on the admin database.

See http://www.mongodb.org/display/DOCS/fsync+Command

Returns

check documentation