@ Override public synchronized void close ( ) throws Exception { if ( this . readerWriter != null && ! this . writerClosed ) { this . readerWriter . close ( ) ; this . writerClosed = true ; } }
Closes the readerWriter which in turn closes the FileSystem .