code: @Override
      public boolean process(ContentEvent event) {
         
          if (event.isLastEvent() || 
                  (instancesCount > 0 && instancesCount% this.sampleFrequency == 0)) {
              if (model.implementsMicroClusterer()) {
  
                  Clustering clustering = model.getMicroClusteringResult();
  
                  ClusteringResultContentEvent resultEvent = new ClusteringResultContentEvent(clustering, event.isLastEvent());
  
                  this.outputStream.put(resultEvent);
              }
          }
  
          updateStats(event);
          return false;
      }
docs: On event.
  
  @param event the event
  @return true, if successful