code: @Override
      public void notifyListeners(GerritEvent event) {
          if (event instanceof CommentAdded) {
              if (ignoreEvent((CommentAdded)event)) {
                  logger.trace("CommentAdded ignored");
                  return;
              }
          }
          for (GerritEventListener listener : gerritEventListeners) {
              try {
                  notifyListener(listener, event);
              } catch (Exception ex) {
                  logger.error("When notifying listener: {} about event: {}", listener, event);
                  logger.error("Notify-error: ", ex);
              }
          }
      }
docs: Notifies all listeners of a Gerrit event. This method is meant to be called by one of the Worker Threads {@link
  com.sonymobile.tools.gerrit.gerritevents.workers.EventThread} and not on this Thread which would
  defeat the purpose of having workers.
  
  @param event the event.