public boolean removeStream ( Stream stream ) { final boolean removed = streams . remove ( stream ) ; if ( removed ) { indexSets . clear ( ) ; for ( Stream s : streams ) { indexSets . add ( s . getIndexSet ( ) ) ; } sizeCounter . dec ( 8 ) ; if ( LOG . isTraceEnabled ( ) ) { LOG . trace ( "[Message size update][{}] stream removed: {}" , getId ( ) , sizeCounter . getCount ( ) ) ; } } return removed ; }
Remove the stream assignment from this message .