Class BatchingProgressLogger

    • Field Detail

      • MAXIMUM_LOG_INTERVAL

        public static final long MAXIMUM_LOG_INTERVAL
    • Constructor Detail

      • BatchingProgressLogger

        public BatchingProgressLogger​(org.neo4j.logging.Log log,
                                      long taskVolume,
                                      java.lang.String task,
                                      int concurrency)
      • BatchingProgressLogger

        public BatchingProgressLogger​(org.neo4j.logging.Log log,
                                      long taskVolume,
                                      long batchSize,
                                      java.lang.String task,
                                      int concurrency)
    • Method Detail

      • logProgress

        public void logProgress​(java.util.function.Supplier<java.lang.String> msgFactory)
        Specified by:
        logProgress in interface ProgressLogger
      • logProgress

        public void logProgress​(long progress,
                                java.util.function.Supplier<java.lang.String> msgFactory)
        Specified by:
        logProgress in interface ProgressLogger
      • logMessage

        public void logMessage​(java.util.function.Supplier<java.lang.String> msg)
        Specified by:
        logMessage in interface ProgressLogger
      • reset

        public void reset​(long newTaskVolume)
        Specified by:
        reset in interface ProgressLogger
      • logProgress

        public void logProgress​(double percentDone,
                                java.util.function.Supplier<java.lang.String> msg)
        Specified by:
        logProgress in interface ProgressLogger