Interface AccessLogLoader.ProgressListener

  • Enclosing class:
    AccessLogLoader

    public static interface AccessLogLoader.ProgressListener
    Simple interface to get notifications about the progress of reading the access.log file.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void lineProcessed​(int line, int queryCount, int resultCount, Entry entry)
      This method is called whenever a line from the access.log is processed.
    • Method Detail

      • lineProcessed

        void lineProcessed​(int line,
                           int queryCount,
                           int resultCount,
                           Entry entry)
        This method is called whenever a line from the access.log is processed.
        Parameters:
        line - the number of lines parsed so far.
        queryCount - the number of queries loaded so far.
        resultCount - the number of results loaded so far.
        entry - the entry read from the log or null if the line did not create an entry.