Future<RandomAccessFile> close()

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

Source

Future<RandomAccessFile> close();