Source:
public ClusteringModule( DiscoveryServiceFactory discoveryServiceFactory, MemberId myself, PlatformModule platformModule, File clusterStateDirectory ) { LifeSupport life = platformModule.life; Config config = platformModule.config; LogProvider logProvider = platformModule.logging.getInternalLogProvider(); LogProvider userLogProvider = platformModule.logging.getUserLogProvider(); Dependencies dependencies = platformModule.dependencies; FileSystemAbstraction fileSystem = platformModule.fileSystem; HostnameResolver hostnameResolver = chooseResolver( config, logProvider, userLogProvider ); String dbName = config.get( CausalClusteringSettings.database ); SimpleStorage<DatabaseName> dbNameStorage = new SimpleFileStorage<>( fileSystem, clusterStateDirectory, DB_NAME, new DatabaseName.Marshal(), logProvider ); topologyService = discoveryServiceFactory .coreTopologyService( config, myself, platformModule.jobScheduler, logProvider, userLogProvider, hostnameResolver, resolveStrategy( config, logProvider ) ); life.add( topologyService ); dependencies.satisfyDependency( topologyService ); SimpleStorage<ClusterId> clusterIdStorage = new SimpleFileStorage<>( fileSystem, clusterStateDirectory, CLUSTER_ID_NAME, new ClusterId.Marshal(), logProvider ); CoreBootstrapper coreBootstrapper = new CoreBootstrapper( platformModule.storeDir, platformModule.pageCache, fileSystem, config, logProvider ); int minimumCoreHosts = config.get( CausalClusteringSettings.minimum_core_cluster_size_at_formation ); clusterBinder = new ClusterBinder( clusterIdStorage, dbNameStorage, logProvider, Clocks.systemClock(), () -> sleep( 100 ), 300_000, coreBootstrapper, dbName, minimumCoreHosts, topologyService ); }

Target:
public ClusteringModule( DiscoveryServiceFactory discoveryServiceFactory, MemberId myself, PlatformModule platformModule, File clusterStateDirectory ) { LifeSupport life = platformModule.life; Config config = platformModule.config; LogProvider logProvider = platformModule.logging.getInternalLogProvider(); LogProvider userLogProvider = platformModule.logging.getUserLogProvider(); Dependencies dependencies = platformModule.dependencies; FileSystemAbstraction fileSystem = platformModule.fileSystem; HostnameResolver hostnameResolver = chooseResolver( config, logProvider, userLogProvider ); topologyService = discoveryServiceFactory .coreTopologyService( config, myself, platformModule.jobScheduler, logProvider, userLogProvider, hostnameResolver, resolveStrategy( config, logProvider ) ); life.add( topologyService ); dependencies.satisfyDependency( topologyService ); CoreBootstrapper coreBootstrapper = new CoreBootstrapper( platformModule.storeDir, platformModule.pageCache, fileSystem, config, logProvider ); SimpleStorage<ClusterId> clusterIdStorage = new SimpleFileStorage<>( fileSystem, clusterStateDirectory, CLUSTER_ID_NAME, new ClusterId.Marshal(), logProvider ); SimpleStorage<DatabaseName> dbNameStorage = new SimpleFileStorage<>( fileSystem, clusterStateDirectory, DB_NAME, new DatabaseName.Marshal(), logProvider ); String dbName = config.get( CausalClusteringSettings.database ); int minimumCoreHosts = config.get( CausalClusteringSettings.minimum_core_cluster_size_at_formation ); clusterBinder = new ClusterBinder( clusterIdStorage, dbNameStorage, topologyService, Clocks.systemClock(), () -> sleep( 100 ), 300_000, coreBootstrapper, dbName, minimumCoreHosts, logProvider ); }