[ Version ( since = "2.34" ) ]
public void flush ()
This function will force all pending writes in the this to be committed to disk.
For doing so it will iterate the MainContext associated with
this's session as long as needed.
Contrast with dump, which writes out the cache index file.