code: public void reportStatistics(I_CmsReport report) {
  
          if (report != null) {
              CmsMessageContainer message = Messages.get().container(
                  Messages.RPT_SEARCH_INDEXING_STATS_4,
                  new Object[] {
                      new Integer(m_startedCounter),
                      new Integer(m_returnedCounter),
                      new Integer(m_abandonedCounter),
                      report.formatRuntime()});
  
              report.println(message);
              if (!(report instanceof CmsLogReport) && LOG.isInfoEnabled()) {
                  // only write to the log if report is not already a log report
                  LOG.info(message.key());
              }
          }
      }
docs: Writes statistical information to the report.<p>
  
  The method reports the total number of threads started
  (equals to the number of indexed files), the number of returned
  threads (equals to the number of successfully indexed files),
  and the number of abandoned threads (hanging threads reaching the timeout).
  
  @param report the report to write the statistics to