code: synchronized void removeInterestedByClass(Class<?> clazz, ProbeListener listener) {
          Set<ProbeListener> listeners = listenersByClass.get(clazz);
          if (listeners != null) {
              listeners.remove(listener);
              if (listeners.isEmpty()) {
                  listenersByClass.remove(clazz);
              }
          }
      }
docs: Remove the specified listener from the collection of listeners with {@link ProbeFilter}s that match the specified class.
  
  @param clazz the candidate probe source
  @param listener the listener with a filter that matched {@code clazz}