docs: public QueuedEvent pollEvent(IPortletWindowId portletWindowId) {
          final Queue<QueuedEvent> queue = this.resolvedEventQueues.get(portletWindowId);
          return queue != null ? queue.poll() : null;
      }