Package org.neo4j.gds.compat
Interface CompatExecutionMonitor
-
public interface CompatExecutionMonitorGets notified now and then aboutStageExecution, where statistics can be read and displayed, aggregated or in other ways make sense of the data ofStageExecution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheck(org.neo4j.internal.batchimport.staging.StageExecution execution)Called periodically while executing aStageExecution.longcheckIntervalMillis()java.time.Clockclock()Clock to use for interval checksvoiddone(boolean successful, long totalTimeMillis, java.lang.String additionalInformation)Called after allstage executionshave run.voidend(org.neo4j.internal.batchimport.staging.StageExecution execution, long totalTimeMillis)Signals the end of the execution previouslystarted.voidinitialize(org.neo4j.common.DependencyResolver dependencyResolver)Signals start of import.voidstart(org.neo4j.internal.batchimport.staging.StageExecution execution)Signals the start of aStageExecution.
-
-
-
Method Detail
-
initialize
void initialize(org.neo4j.common.DependencyResolver dependencyResolver)
Signals start of import. Called only once and before any other method.- Parameters:
dependencyResolver-DependencyResolverfor getting dependencies from.
-
start
void start(org.neo4j.internal.batchimport.staging.StageExecution execution)
Signals the start of aStageExecution.
-
end
void end(org.neo4j.internal.batchimport.staging.StageExecution execution, long totalTimeMillis)Signals the end of the execution previouslystarted.
-
done
void done(boolean successful, long totalTimeMillis, java.lang.String additionalInformation)Called after allstage executionshave run.
-
check
void check(org.neo4j.internal.batchimport.staging.StageExecution execution)
Called periodically while executing aStageExecution.
-
clock
java.time.Clock clock()
Clock to use for interval checks
-
checkIntervalMillis
long checkIntervalMillis()
- Returns:
- rough time interval this monitor needs checking.
-
-