a7b99b2f72c13a7cf2bb31ec7090b2dc5b9b54be
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public onTopologyChange() : void renamed to public onCoreTopologyChange() : void in class org.neo4j.coreedge.discovery.CoreTopologyService.Listener | From | To | |
Rename Method public addMembershipListener(listener Listener) : void renamed to public addCoreTopologyListener(listener Listener) : void in class org.neo4j.coreedge.discovery.CoreTopologyService | From | To | |
Rename Method public onTopologyChange() : void renamed to public onCoreTopologyChange() : void in class org.neo4j.coreedge.discovery.RaftDiscoveryServiceConnector | From | To | |
Rename Method public registerEdgeServer(boltAddress AdvertisedSocketAddress) : void renamed to public start() : void in class org.neo4j.coreedge.discovery.SharedDiscoveryEdgeClient | From | To | |
Rename Method public addMembershipListener(listener Listener) : void renamed to public addCoreTopologyListener(listener Listener) : void in class org.neo4j.coreedge.discovery.SharedDiscoveryCoreClient | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type type : Type to role : Role in method package ReadWriteEndPoint(address AdvertisedSocketAddress, role Role, identifier UUID) in class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure.ReadWriteEndPoint | From | To | |
Change Parameter Type discoveryService : EdgeTopologyService to discoveryService : TopologyService in method public EdgeToCoreClient(logProvider LogProvider, channelInitializer ChannelInitializer, monitors Monitors, maxQueueSize int, nonBlockingChannels NonBlockingChannels, discoveryService TopologyService, logThresholdMillis long) in class org.neo4j.coreedge.catchup.storecopy.EdgeToCoreClient | From | To | |
Rename Variable | 1 | ||
Rename Variable type : Type to role : Role in method public apply(ctx Context, input Object[]) : RawIterator<Object[],ProcedureException> in class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure | From | To | |
Change Return Type | 7 | ||
Change Return Type String to UUID in method package identifier() : UUID in class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure.ReadWriteEndPoint | From | To | |
Change Return Type List<Object[]> to List<MemberInfo> in method private clusterOverview(db GraphDatabaseFacade) : List<MemberInfo> in class org.neo4j.coreedge.scenarios.ClusterOverviewIT | From | To | |
Change Return Type EdgeTopologyService to TopologyService in method public edgeDiscoveryService(config Config, boltAddress AdvertisedSocketAddress, logProvider LogProvider) : TopologyService in class org.neo4j.coreedge.discovery.HazelcastDiscoveryServiceFactory | From | To | |
Change Return Type EdgeTopologyService to TopologyService in method public edgeDiscoveryService(config Config, boltAddress AdvertisedSocketAddress, logProvider LogProvider) : TopologyService in class org.neo4j.coreedge.discovery.DiscoveryServiceFactory | From | To | |
Change Return Type String to AdvertisedSocketAddress in method public address() : AdvertisedSocketAddress in class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure.ReadWriteEndPoint | From | To | |
Change Return Type Matcher<? super List<Object[]>> to Matcher<List<MemberInfo>> in method private containsAddress(expectedAddress String) : Matcher<List<MemberInfo>> in class org.neo4j.coreedge.scenarios.ClusterOverviewIT | From | To | |
Change Return Type EdgeTopologyService to TopologyService in method public edgeDiscoveryService(config Config, boltAddress AdvertisedSocketAddress, logProvider LogProvider) : TopologyService in class org.neo4j.coreedge.discovery.SharedDiscoveryService | From | To | |
Rename Class | 1 | ||
Rename Class org.neo4j.coreedge.discovery.HazelcastServerLifecycle renamed to org.neo4j.coreedge.discovery.HazelcastCoreTopologyService | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure.Type moved and renamed to org.neo4j.coreedge.scenarios.ClusterOverviewIT.DiscoveryService | From | To | |
Move Class | 1 | ||
Move Class org.neo4j.coreedge.discovery.procedures.RoleProcedure.Role moved to org.neo4j.coreedge.discovery.procedures.Role | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute boltAddress : AdvertisedSocketAddress to addresses : EdgeAddresses in method public start() : void in class org.neo4j.coreedge.discovery.SharedDiscoveryEdgeClient | From | To | |
Rename Attribute | 2 | ||
Rename Attribute type : Type to role : Role in class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure.ReadWriteEndPoint | From | To | |
Rename Attribute factory : DiscoveryServiceFactory to disoveryServiceFactory : DiscoveryServiceFactory in class org.neo4j.test.coreedge.ClusterRule | From | To | |
Change Variable Type | 3 | ||
Change Variable Type discoveryService : EdgeTopologyService to discoveryService : TopologyService in method package EnterpriseEdgeEditionModule(platformModule PlatformModule, discoveryServiceFactory DiscoveryServiceFactory) in class org.neo4j.coreedge.edge.EnterpriseEdgeEditionModule | From | To | |
Change Variable Type boltAddress : AdvertisedSocketAddress to addresses : EdgeAddresses in method public start() : void in class org.neo4j.coreedge.discovery.SharedDiscoveryEdgeClient | From | To | |
Change Variable Type type : Type to role : Role in method public apply(ctx Context, input Object[]) : RawIterator<Object[],ProcedureException> in class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type type : Type to role : Role in class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure.ReadWriteEndPoint | From | To | |
Rename Parameter | 3 | ||
Rename Parameter hazelcastAccessor : Function<HazelcastInstance,T> to hazelcastOperation : Function<HazelcastInstance,T> in method private retry(hazelcastOperation Function<HazelcastInstance,T>) : T in class org.neo4j.coreedge.discovery.HazelcastClient | From | To | |
Rename Parameter type : Type to role : Role in method package ReadWriteEndPoint(address AdvertisedSocketAddress, role Role, identifier UUID) in class org.neo4j.coreedge.discovery.procedures.ClusterOverviewProcedure.ReadWriteEndPoint | From | To | |
Rename Parameter address : String to expectedAddress : String in method private containsAddress(expectedAddress String) : Matcher<List<MemberInfo>> in class org.neo4j.coreedge.scenarios.ClusterOverviewIT | From | To |