1bc73c299a930e67b9a7f9c13dd228d2310378d0
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private findFreePort(minPort int, maxPort int, except Set<Integer>) : int from class org.neo4j.kernel.impl.ha.ClusterManager to private discoverPort(minPort int, maxPort int) : int from class org.neo4j.cluster.FreePorts | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type provider : Supplier<Cluster> to provider : Function<FreePorts.Session,Cluster> in method public withCluster(provider Function<FreePorts.Session,Cluster>) : Builder in class org.neo4j.kernel.impl.ha.ClusterManager.Builder | From | To | |
Change Parameter Type provider : Supplier<Cluster> to provider : Function<FreePorts.Session,Cluster> in method public withCluster(provider Function<FreePorts.Session,Cluster>) : ClusterRule in class org.neo4j.test.ha.ClusterRule | From | To | |
Rename Variable | 2 | ||
Rename Variable highlyAvailableGraphDatabaseProxy : HighlyAvailableGraphDatabaseProxy to existingMember : HighlyAvailableGraphDatabase in method private assertMember(db HighlyAvailableGraphDatabase) : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Rename Variable member : HighlyAvailableGraphDatabaseProxy to db : HighlyAvailableGraphDatabase in method public stop() : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Change Return Type | 4 | ||
Change Return Type Supplier<Cluster> to Function<FreePorts.Session,Cluster> in method public clusterWithAdditionalArbiters(haMemberCount int, arbiterCount int) : Function<FreePorts.Session,Cluster> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Change Return Type Supplier<Cluster> to Function<FreePorts.Session,Cluster> in method public clusterWithAdditionalClients(haMemberCount int, additionalClientCount int) : Function<FreePorts.Session,Cluster> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Change Return Type Supplier<Cluster> to Function<FreePorts.Session,Cluster> in method public clusterOfSize(hostname String, memberCount int) : Function<FreePorts.Session,Cluster> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Change Return Type Supplier<Cluster> to Function<FreePorts.Session,Cluster> in method public clusterOfSize(memberCount int) : Function<FreePorts.Session,Cluster> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Change Variable Type | 3 | ||
Change Variable Type member : HighlyAvailableGraphDatabaseProxy to db : HighlyAvailableGraphDatabase in method public stop() : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Change Variable Type highlyAvailableGraphDatabaseProxy : HighlyAvailableGraphDatabaseProxy to existingMember : HighlyAvailableGraphDatabase in method private assertMember(db HighlyAvailableGraphDatabase) : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Change Variable Type logService : NullLogService to logService : LogService in method private startMember(serverId InstanceId) : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Extract Method | 5 | ||
Extract Method private shutdownMember(serverId InstanceId) : void extracted from public shutdown(db HighlyAvailableGraphDatabase) : RepairKit in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Extract Method private startMemberNow(serverId InstanceId) : HighlyAvailableGraphDatabase extracted from private startMember(serverId InstanceId) : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Extract Method private memberSpec(serverId InstanceId) : Cluster.Member extracted from private startMember(serverId InstanceId) : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Extract Method private clusterUri(member Cluster.Member) : URI extracted from private startMember(serverId InstanceId) : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Extract Method public shutdown() : void extracted from private startMember(serverId InstanceId) : void in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type clustersProvider : Supplier<Cluster> to clustersProvider : Function<FreePorts.Session,Cluster> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Change Attribute Type provider : Supplier<Cluster> to provider : Function<FreePorts.Session,Cluster> in class org.neo4j.kernel.impl.ha.ClusterManager.Builder | From | To | |
Change Attribute Type members : Map<InstanceId,HighlyAvailableGraphDatabaseProxy> to members : Map<InstanceId,HighlyAvailableGraphDatabase> in class org.neo4j.kernel.impl.ha.ClusterManager.ManagedCluster | From | To |