void removeRegistrations ( String topic ) { Collection < Registration > all = registrations . remove ( topic ) ; if ( all == null ) { return ; } for ( Registration reg : all ) { registrationIdMap . remove ( reg . getId ( ) ) ; pingNotifiableEventListener ( topic , reg , false ) ; } }
Removes all registrations for the specified topic and notifies the listeners and service of the listener deregistrations .