Source:
private NeoStoreTransactionLogModule buildTransactionLogs( LogFiles logFiles, Config config, LogProvider logProvider, JobScheduler scheduler, StorageEngine storageEngine, LogEntryReader<ReadableClosablePositionAwareChannel> logEntryReader, SynchronizedArrayIdOrderingQueue explicitIndexTransactionOrdering, TransactionIdStore transactionIdStore ) { TransactionMetadataCache transactionMetadataCache = new TransactionMetadataCache( 100_000 ); if ( config.get( GraphDatabaseFacadeFactory.Configuration.ephemeral ) ) { config.augmentDefaults( GraphDatabaseSettings.keep_logical_logs, "1 files" ); } final LogPruning logPruning = new LogPruningImpl( fs, logFiles, logProvider, new LogPruneStrategyFactory(), clock, config ); dependencies.satisfyDependencies( logPruning ); final LogRotation logRotation = new LogRotationImpl( monitors.newMonitor( LogRotation.Monitor.class ), logFiles, databaseHealth ); dependencies.satisfyDependencies( logRotation ); final TransactionAppender appender = life.add( new BatchingTransactionAppender( logFiles, logRotation, transactionMetadataCache, transactionIdStore, explicitIndexTransactionOrdering, databaseHealth ) ); final LogicalTransactionStore logicalTransactionStore = new PhysicalLogicalTransactionStore( logFiles, transactionMetadataCache, logEntryReader, monitors, failOnCorruptedLogFiles ); CheckPointThreshold threshold = CheckPointThreshold.createThreshold( config, clock, logPruning, logProvider ); final CheckPointerImpl checkPointer = new CheckPointerImpl( transactionIdStore, threshold, storageEngine, logPruning, appender, databaseHealth, logProvider, tracers.checkPointTracer, ioLimiter, storeCopyCheckPointMutex ); dependencies.satisfyDependencies( checkPointer ); long recurringPeriod = threshold.checkFrequencyMillis(); CheckPointScheduler checkPointScheduler = new CheckPointScheduler( checkPointer, ioLimiter, scheduler, recurringPeriod, databaseHealth ); life.add( checkPointer ); life.add( checkPointScheduler ); return new NeoStoreTransactionLogModule( logicalTransactionStore, logFiles, logRotation, checkPointer, appender, explicitIndexTransactionOrdering ); }

Target:
private NeoStoreTransactionLogModule buildTransactionLogs( LogFiles logFiles, Config config, LogProvider logProvider, JobScheduler scheduler, StorageEngine storageEngine, LogEntryReader<ReadableClosablePositionAwareChannel> logEntryReader, SynchronizedArrayIdOrderingQueue explicitIndexTransactionOrdering, TransactionIdStore transactionIdStore ) { TransactionMetadataCache transactionMetadataCache = new TransactionMetadataCache( 100_000 ); if ( config.get( GraphDatabaseFacadeFactory.Configuration.ephemeral ) ) { config.augmentDefaults( GraphDatabaseSettings.keep_logical_logs, "1 files" ); } final LogPruning logPruning = new LogPruningImpl( fs, logFiles, logProvider, new LogPruneStrategyFactory(), clock, config ); final LogRotation logRotation = new LogRotationImpl( monitors.newMonitor( LogRotation.Monitor.class ), logFiles, databaseHealth ); final TransactionAppender appender = life.add( new BatchingTransactionAppender( logFiles, logRotation, transactionMetadataCache, transactionIdStore, explicitIndexTransactionOrdering, databaseHealth ) ); final LogicalTransactionStore logicalTransactionStore = new PhysicalLogicalTransactionStore( logFiles, transactionMetadataCache, logEntryReader, monitors, failOnCorruptedLogFiles ); CheckPointThreshold threshold = CheckPointThreshold.createThreshold( config, clock, logPruning, logProvider ); final CheckPointerImpl checkPointer = new CheckPointerImpl( transactionIdStore, threshold, storageEngine, logPruning, appender, databaseHealth, logProvider, tracers.checkPointTracer, ioLimiter, storeCopyCheckPointMutex ); long recurringPeriod = threshold.checkFrequencyMillis(); CheckPointScheduler checkPointScheduler = new CheckPointScheduler( checkPointer, ioLimiter, scheduler, recurringPeriod, databaseHealth ); life.add( checkPointer ); life.add( checkPointScheduler ); return new NeoStoreTransactionLogModule( logicalTransactionStore, logFiles, logRotation, checkPointer, appender, explicitIndexTransactionOrdering ); }