public final void finishedTask ( final ITask ftask ) { try { taskBalancer . releaseConnection ( outstandingTasks . get ( ftask ) ) ; } catch ( NoSuchConnectionException e ) { e . printStackTrace ( ) ; } outstandingTasks . remove ( ftask ) ; LOGGER . debug ( "Finished a " + ftask + " for the session " + targetName ) ; }
removes Task from outstandingTasks .