Future<RandomAccessFile> close( )

Closes the file. Returns a Future<RandomAccessFile> that completes with this RandomAccessFile when it has been closed.

Source

/**
 * Closes the file. Returns a [:Future<RandomAccessFile>:] that
 * completes with this RandomAccessFile when it has been closed.
 */
Future<RandomAccessFile> close();