question: public static boolean unregisterService ( long id ) { boolean exitStatus = false ; if ( ID_TO_SERVICE_MAP . get ( id ) == null ) { LOG . warning ( "Cannot deregister an unregistered service." ) ; } else { Service < ? > service = ID_TO_SERVICE_MAP . put ( id , null ) ; if ( service != null ) { SERVICE_TO_USER_MAP . remove ( service ) ; } exitStatus = true ; } return exitStatus ; }
target:  Unregisters the given id. All traces of the service are removed.