Class SynchronousFileIOChannel

    • Method Detail

      • close

        public void close()
                   throws IOException
        Description copied from interface: FileIOChannel
        Closes the channel. For asynchronous implementations, this method waits until all pending requests are handled. Even if an exception interrupts the closing, the underlying FileChannel is closed.
        Specified by:
        close in interface FileIOChannel
        Specified by:
        close in class AbstractFileIOChannel
        Throws:
        IOException - Thrown, if an error occurred while waiting for pending requests.