synchronized void removeWriter ( Path path ) throws IOException { WriterInfo val = writerList . get ( path ) ; if ( val != null ) { LOG . info ( "Unregeristering writer for path " + path . toString ( ) ) ; writerList . remove ( path ) ; totalAllocation -= val . allocation ; updateScale ( false ) ; } }
Remove the given writer from the pool .