protected void notifyClose ( ProxyQueue queue ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "notifyClose" , queue ) ; try { final short id = queue . getId ( ) ; idAllocator . releaseId ( id ) ; //Remove the id from the map synchronized ( this ) { idToProxyQueueMap . remove ( new ImmutableId ( id ) ) ; } } catch ( IdAllocatorException e ) { FFDCFilter . processException ( e , CLASS_NAME + ".notifyClose" , CommsConstants . PROXYQUEUECONVGROUPIMPL_NOTIFYCLOSE_01 , this ) ; // D177231 if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) SibTr . exception ( tc , e ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "notifyClose" ) ; }
Notified when a proxy queue in this group is closed . Allows us to free up the ID assigned to it .