public void removeAllDispatchablesForTransaction ( int clientId ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "removeAllDispatchablesForTransaction" , clientId ) ; idToFirstLevelEntryMap . remove ( clientId ) ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "removeAllDispatchablesForTransaction" ) ; }
In the event that the connection is going down we need to ensure that the dispatchable table is cleared of all references to transactions that were created by that connection .