public <EventT> boolean unregister(Object key, Class<EventT> eventClass) {
    LOG.debug("[{}] Unregistering {} for {}", logPrefix, key, eventClass);
    return listeners.remove(eventClass, key);
  }
public < EventT > boolean unregister ( Object key , Class < EventT > eventClass ) { LOG . debug ( "[{}] Unregistering {} for {}" , logPrefix , key , eventClass ) ; return listeners . remove ( eventClass , key ) ; }
Unregisters a listener.

@param key the key that was returned by {@link #register(Class, Consumer)}