c5d7d3318a9df61ba41ec9f5be9a8590e347cb71
Files Diff
- Added: 7
- Removed: 0
- Renamed: 0
- Modified: 25
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type masterServerFactory : Function<Master,MasterServer> to masterServerFactory : BiFunction<Master,ConversationManager,MasterServer> in method public SwitchToMaster(logService LogService, idGeneratorFactory HaIdGeneratorFactory, config Config, slaveFactorySupplier Supplier<SlaveFactory>, conversationManagerFactory Factory<ConversationManager>, masterFactory Function<ConversationManager,Master>, masterServerFactory BiFunction<Master,ConversationManager,MasterServer>, masterDelegateHandler DelegateInvocationHandler<Master>, clusterMemberAvailability ClusterMemberAvailability, dataSourceSupplier Supplier<NeoStoreDataSource>) in class org.neo4j.kernel.ha.cluster.SwitchToMaster | From | To | |
Change Parameter Type masterFactory : Factory<Master> to masterFactory : Function<ConversationManager,Master> in method public SwitchToMaster(logService LogService, idGeneratorFactory HaIdGeneratorFactory, config Config, slaveFactorySupplier Supplier<SlaveFactory>, conversationManagerFactory Factory<ConversationManager>, masterFactory Function<ConversationManager,Master>, masterServerFactory BiFunction<Master,ConversationManager,MasterServer>, masterDelegateHandler DelegateInvocationHandler<Master>, clusterMemberAvailability ClusterMemberAvailability, dataSourceSupplier Supplier<NeoStoreDataSource>) in class org.neo4j.kernel.ha.cluster.SwitchToMaster | From | To | |
Move Method | 2 | ||
Move Method public scheduleRecurringJob(group JobScheduler.Group, interval long, job Runnable) : JobScheduler.JobHandle from class org.neo4j.kernel.ha.cluster.DefaultMasterImplSPI to public scheduleRecurringJob(group JobScheduler.Group, interval long, job Runnable) : JobScheduler.JobHandle from class org.neo4j.kernel.ha.cluster.DefaultConversationSPI | From | To | |
Move Method public acquireClient() : Locks.Client from class org.neo4j.kernel.ha.cluster.DefaultMasterImplSPI to public acquireClient() : Locks.Client from class org.neo4j.kernel.ha.cluster.DefaultConversationSPI | From | To | |
Move Attribute | 3 | ||
Move Attribute public TX_TIMEOUT_ADDITION : int from class org.neo4j.kernel.ha.com.master.MasterImpl to private TX_TIMEOUT_ADDITION : int from class org.neo4j.kernel.ha.com.master.ConversationManager | From | To | |
Move Attribute private locks : Locks from class org.neo4j.kernel.ha.cluster.DefaultMasterImplSPI to private locks : Locks from class org.neo4j.kernel.ha.cluster.DefaultConversationSPI | From | To | |
Move Attribute private jobScheduler : JobScheduler from class org.neo4j.kernel.ha.cluster.DefaultMasterImplSPI to private jobScheduler : JobScheduler from class org.neo4j.kernel.ha.cluster.DefaultConversationSPI | From | To | |
Extract Class | 2 | ||
Extract Class org.neo4j.kernel.ha.cluster.DefaultConversationSPI from class org.neo4j.kernel.ha.cluster.DefaultMasterImplSPI | From | To | |
Extract Class org.neo4j.kernel.ha.com.master.ConversationManager from class org.neo4j.kernel.ha.com.master.MasterImpl | From | To | |
Rename Attribute | 1 | ||
Rename Attribute myId : int to clientId : int in class org.neo4j.kernel.ha.lock.forseti.ForsetiClient | From | To | |
Extract Variable | 1 | ||
Extract Variable maxResourceId : int in method public ForsetiLockManager(resourceTypes ResourceType...) from class org.neo4j.kernel.ha.lock.forseti.ForsetiLockManager | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type masterFactory : Factory<Master> to masterFactory : Function<ConversationManager,Master> in class org.neo4j.kernel.ha.cluster.SwitchToMaster | From | To | |
Change Attribute Type masterServerFactory : Function<Master,MasterServer> to masterServerFactory : BiFunction<Master,ConversationManager,MasterServer> in class org.neo4j.kernel.ha.cluster.SwitchToMaster | From | To |