Flushes the contents of the file to disk. Returns a
Future<RandomAccessFile>
that completes with this
RandomAccessFile when the flush operation completes.
Source
/**
* Flushes the contents of the file to disk. Returns a
* [:Future<RandomAccessFile>:] that completes with this
* RandomAccessFile when the flush operation completes.
*/
Future<RandomAccessFile> flush();