Interface CompatExecutionMonitor


  • public interface CompatExecutionMonitor
    Gets notified now and then about StageExecution, where statistics can be read and displayed, aggregated or in other ways make sense of the data of StageExecution.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void check​(org.neo4j.internal.batchimport.staging.StageExecution execution)
      Called periodically while executing a StageExecution.
      long checkIntervalMillis()  
      java.time.Clock clock()
      Clock to use for interval checks
      void done​(boolean successful, long totalTimeMillis, java.lang.String additionalInformation)
      Called after all stage executions have run.
      void end​(org.neo4j.internal.batchimport.staging.StageExecution execution, long totalTimeMillis)
      Signals the end of the execution previously started.
      void initialize​(org.neo4j.common.DependencyResolver dependencyResolver)
      Signals start of import.
      void start​(org.neo4j.internal.batchimport.staging.StageExecution execution)
      Signals the start of a StageExecution.
    • Method Detail

      • initialize

        void initialize​(org.neo4j.common.DependencyResolver dependencyResolver)
        Signals start of import. Called only once and before any other method.
        Parameters:
        dependencyResolver - DependencyResolver for getting dependencies from.
      • start

        void start​(org.neo4j.internal.batchimport.staging.StageExecution execution)
        Signals the start of a StageExecution.
      • end

        void end​(org.neo4j.internal.batchimport.staging.StageExecution execution,
                 long totalTimeMillis)
        Signals the end of the execution previously started.
      • done

        void done​(boolean successful,
                  long totalTimeMillis,
                  java.lang.String additionalInformation)
        Called after all stage executions have run.
      • check

        void check​(org.neo4j.internal.batchimport.staging.StageExecution execution)
        Called periodically while executing a StageExecution.
      • clock

        java.time.Clock clock()
        Clock to use for interval checks
      • checkIntervalMillis

        long checkIntervalMillis()
        Returns:
        rough time interval this monitor needs checking.