private static ExecutionMonitor migrationBatchImporterMonitor( NeoStores legacyStore, final ProgressReporter progressReporter, Configuration config ) { return new BatchImporterProgressMonitor( legacyStore.getNodeStore().getHighId(), legacyStore.getRelationshipStore().getHighId(), config, progressReporter ); }
BatchImporterProgressMonitor( long highNodeId, long highRelationshipId, org.neo4j.unsafe.impl.batchimport.Configuration configuration, ProgressReporter progressReporter ) { super( highNodeId, highRelationshipId, configuration ); this.progressReporter = progressReporter; this.progressReporter.start( total() ); }
BatchImporterProgressMonitor( long highNodeId, long highRelationshipId, org.neo4j.unsafe.impl.batchimport.Configuration configuration, ProgressReporter progressReporter ) { super( highNodeId, highRelationshipId, configuration ); this.progressReporter = progressReporter; this.progressReporter.start( total() ); }
private static ExecutionMonitor migrationBatchImporterMonitor( NeoStores legacyStore, final ProgressReporter progressReporter, Configuration config ) { return new BatchImporterProgressMonitor( legacyStore.getNodeStore().getHighId(), legacyStore.getRelationshipStore().getHighId(), config, progressReporter ); }