b20f49846918b25d92e8c7122fef6750b404c624
Files Diff
- Added: 13
- Removed: 12
- Renamed: 0
- Modified: 28
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public createUpdatePuller(life LifeSupport) : UpdatePuller renamed to public createSlaveUpdatePuller() : SlaveUpdatePuller in class org.neo4j.kernel.ha.PullerFactory | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type paxosLife : LifeSupport to componentSwitcherContainer : ComponentSwitcherContainer in method private createPropertyKeyCreator(config Config, componentSwitcherContainer ComponentSwitcherContainer, masterDelegateInvocationHandler DelegateInvocationHandler<Master>, requestContextFactory RequestContextFactory, kernelProvider Supplier<KernelAPI>) : TokenCreator in class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To | |
Change Parameter Type highAvailabilityModeSwitcher : HighAvailabilityModeSwitcher to componentSwitcherContainer : ComponentSwitcherContainer in method private createCommitProcessFactory(dependencies Dependencies, logging LogService, monitors Monitors, config Config, paxosLife LifeSupport, clusterClient ClusterClient, members ClusterMembers, jobScheduler JobScheduler, master Master, requestContextFactory RequestContextFactory, componentSwitcherContainer ComponentSwitcherContainer) : CommitProcessFactory in class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To | |
Change Parameter Type paxosLife : LifeSupport to componentSwitcherContainer : ComponentSwitcherContainer in method private createLabelIdCreator(config Config, componentSwitcherContainer ComponentSwitcherContainer, masterDelegateInvocationHandler DelegateInvocationHandler<Master>, requestContextFactory RequestContextFactory, kernelProvider Supplier<KernelAPI>) : TokenCreator in class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To | |
Change Parameter Type paxosLife : LifeSupport to componentSwitcherContainer : ComponentSwitcherContainer in method private createRelationshipTypeCreator(config Config, componentSwitcherContainer ComponentSwitcherContainer, masterInvocationHandler DelegateInvocationHandler<Master>, requestContextFactory RequestContextFactory, kernelProvider Supplier<KernelAPI>) : TokenCreator in class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To | |
Rename Variable | 1 | ||
Rename Variable slavePuller : UpdatePuller to newPuller : UpdatePuller in method public slaveUpdatePuller() : void in class org.neo4j.kernel.ha.cluster.modeswitch.UpdatePullerSwitcherTest | From | To | |
Change Return Type | 2 | ||
Change Return Type TransactionObligationFulfiller to UpdatePullingTransactionObligationFulfiller in method public createObligationFulfiller(updatePuller UpdatePuller) : UpdatePullingTransactionObligationFulfiller in class org.neo4j.kernel.ha.PullerFactory | From | To | |
Change Return Type UpdatePuller to SlaveUpdatePuller in method public createSlaveUpdatePuller() : SlaveUpdatePuller in class org.neo4j.kernel.ha.PullerFactory | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class org.neo4j.kernel.ha.UpdatePullerModeSwitcherTest moved and renamed to org.neo4j.kernel.ha.cluster.modeswitch.UpdatePullerSwitcherTest | From | To | |
Move And Rename Class org.neo4j.kernel.ha.cluster.ModeSwitcher moved and renamed to org.neo4j.kernel.ha.cluster.modeswitch.ComponentSwitcher | From | To | |
Move Class | 3 | ||
Move Class org.neo4j.kernel.ha.cluster.HighAvailabilityModeSwitcher moved to org.neo4j.kernel.ha.cluster.modeswitch.HighAvailabilityModeSwitcher | From | To | |
Move Class org.neo4j.kernel.ha.cluster.HighAvailabilityModeSwitcherTest moved to org.neo4j.kernel.ha.cluster.modeswitch.HighAvailabilityModeSwitcherTest | From | To | |
Move Class org.neo4j.kernel.ha.CommitProcessSwitcher moved to org.neo4j.kernel.ha.cluster.modeswitch.CommitProcessSwitcher | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute switcherNotifier : ModeSwitcherNotifier to slaveUpdatePuller : SlaveUpdatePuller in method public setUp() : void in class org.neo4j.kernel.ha.cluster.modeswitch.UpdatePullerSwitcherTest | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.neo4j.kernel.ha.cluster.modeswitch.AbstractComponentSwitcher from classes [org.neo4j.kernel.ha.cluster.modeswitch.CommitProcessSwitcher] | From | To | |
Change Variable Type | 1 | ||
Change Variable Type switcherNotifier : ModeSwitcherNotifier to slaveUpdatePuller : SlaveUpdatePuller in method public setUp() : void in class org.neo4j.kernel.ha.cluster.modeswitch.UpdatePullerSwitcherTest | From | To | |
Extract Variable | 1 | ||
Extract Variable transactionPropagator : TransactionPropagator in method private createCommitProcessFactory(dependencies Dependencies, logging LogService, monitors Monitors, config Config, paxosLife LifeSupport, clusterClient ClusterClient, members ClusterMembers, jobScheduler JobScheduler, master Master, requestContextFactory RequestContextFactory, componentSwitcherContainer ComponentSwitcherContainer) : CommitProcessFactory from class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type modeSwitcher : UpdatePullerModeSwitcher to modeSwitcher : UpdatePullerSwitcher in class org.neo4j.kernel.ha.cluster.modeswitch.UpdatePullerSwitcherTest | From | To | |
Extract Method | 4 | ||
Extract Method private createModeSwitcher(availability ClusterMemberAvailability) : HighAvailabilityModeSwitcher extracted from public shouldNotBroadcastIfSlaveAndReceivesMasterIsElected() : void in class org.neo4j.kernel.ha.cluster.modeswitch.HighAvailabilityModeSwitcherTest | From | To | |
Extract Method private createModeSwitcher(availability ClusterMemberAvailability) : HighAvailabilityModeSwitcher extracted from public shouldBroadcastMasterIsAvailableIfMasterAndReceiveMasterIsElected() : void in class org.neo4j.kernel.ha.cluster.modeswitch.HighAvailabilityModeSwitcherTest | From | To | |
Extract Method private createModeSwitcher(availability ClusterMemberAvailability) : HighAvailabilityModeSwitcher extracted from public shouldNotBroadcastIfMasterAndReceivesSlaveIsAvailable() : void in class org.neo4j.kernel.ha.cluster.modeswitch.HighAvailabilityModeSwitcherTest | From | To | |
Extract Method private createModeSwitcher(availability ClusterMemberAvailability) : HighAvailabilityModeSwitcher extracted from public shouldBroadcastSlaveIsAvailableIfSlaveAndReceivesMasterIsAvailable() : void in class org.neo4j.kernel.ha.cluster.modeswitch.HighAvailabilityModeSwitcherTest | From | To | |
Rename Parameter | 4 | ||
Rename Parameter paxosLife : LifeSupport to componentSwitcherContainer : ComponentSwitcherContainer in method private createPropertyKeyCreator(config Config, componentSwitcherContainer ComponentSwitcherContainer, masterDelegateInvocationHandler DelegateInvocationHandler<Master>, requestContextFactory RequestContextFactory, kernelProvider Supplier<KernelAPI>) : TokenCreator in class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To | |
Rename Parameter highAvailabilityModeSwitcher : HighAvailabilityModeSwitcher to componentSwitcherContainer : ComponentSwitcherContainer in method private createCommitProcessFactory(dependencies Dependencies, logging LogService, monitors Monitors, config Config, paxosLife LifeSupport, clusterClient ClusterClient, members ClusterMembers, jobScheduler JobScheduler, master Master, requestContextFactory RequestContextFactory, componentSwitcherContainer ComponentSwitcherContainer) : CommitProcessFactory in class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To | |
Rename Parameter paxosLife : LifeSupport to componentSwitcherContainer : ComponentSwitcherContainer in method private createRelationshipTypeCreator(config Config, componentSwitcherContainer ComponentSwitcherContainer, masterInvocationHandler DelegateInvocationHandler<Master>, requestContextFactory RequestContextFactory, kernelProvider Supplier<KernelAPI>) : TokenCreator in class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To | |
Rename Parameter paxosLife : LifeSupport to componentSwitcherContainer : ComponentSwitcherContainer in method private createLabelIdCreator(config Config, componentSwitcherContainer ComponentSwitcherContainer, masterDelegateInvocationHandler DelegateInvocationHandler<Master>, requestContextFactory RequestContextFactory, kernelProvider Supplier<KernelAPI>) : TokenCreator in class org.neo4j.kernel.ha.factory.HighlyAvailableEditionModule | From | To |