public final void removeConsumerKey ( String selector , JSRemoteConsumerPoint aock ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "removeConsumerKey" , new Object [ ] { selector , aock } ) ; synchronized ( this ) { JSRemoteConsumerPoint aock2 = ( JSRemoteConsumerPoint ) consumerKeyTable . get ( selector ) ; if ( aock2 == aock ) { // the object is still in the table consumerKeyTable . remove ( selector ) ; } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "removeConsumerKey" ) ; }
Method to remove the given JSRemoteConsumerPoint from the consumerKeyTable