09b2724c44567035c8806bfe4a79bdf355c816b8
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type redisClient : RedisClient to address : InetSocketAddress in method public slaveDown(address InetSocketAddress, freezeReason FreezeReason) : boolean in class org.redisson.connection.MasterSlaveEntry | From | To | |
Change Parameter Type addr : InetAddress to addr : InetSocketAddress in method public setAddress(addr InetSocketAddress, address URI) : RedisClientConfig in class org.redisson.client.RedisClientConfig | From | To | |
Change Parameter Type masterHost : InetSocketAddress to masterHost : RedisClient in method public DNSMonitor(connectionManager ConnectionManager, masterHost RedisClient, slaveHosts Collection<URI>, dnsMonitoringInterval long, resolverGroup DnsAddressResolverGroup) in class org.redisson.connection.DNSMonitor | From | To | |
Change Return Type | 2 | ||
Change Return Type InetAddress to InetSocketAddress in method public getAddr() : InetSocketAddress in class org.redisson.client.RedisClientConfig | From | To | |
Change Return Type RPromise<RedisClient> to RFuture<RedisClient> in method public setupMasterEntry(address URI) : RFuture<RedisClient> in class org.redisson.connection.MasterSlaveEntry | From | To | |
Rename Attribute | 1 | ||
Rename Attribute addr : URI to uri : URI in class org.redisson.client.RedisClient | From | To | |
Extract Method | 4 | ||
Extract Method private addSlave(client RedisClient, freezed boolean, nodeType NodeType) : RFuture<Void> extracted from private addSlave(address URI, freezed boolean, nodeType NodeType) : RFuture<Void> in class org.redisson.connection.MasterSlaveEntry | From | To | |
Extract Method private setupMasterEntry(client RedisClient) : RFuture<RedisClient> extracted from public setupMasterEntry(address URI) : RPromise<RedisClient> in class org.redisson.connection.MasterSlaveEntry | From | To | |
Extract Method public unfreeze(entry ClientConnectionsEntry, freezeReason FreezeReason) : boolean extracted from public unfreeze(address URI, freezeReason FreezeReason) : boolean in class org.redisson.connection.balancer.LoadBalancerManager | From | To | |
Extract Method private changeMaster(address URI, oldMaster ClientConnectionsEntry, future RFuture<RedisClient>) : void extracted from public changeMaster(address URI) : void in class org.redisson.connection.MasterSlaveEntry | From | To | |
Inline Variable | 1 | ||
Inline Variable masterHost : InetSocketAddress in method protected initSingleEntry() : void from class org.redisson.connection.MasterSlaveConnectionManager | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type masters : Map<URI,InetAddress> to masters : Map<URI,InetSocketAddress> in class org.redisson.connection.DNSMonitor | From | To | |
Change Attribute Type addr : InetAddress to addr : InetSocketAddress in class org.redisson.client.RedisClientConfig | From | To | |
Change Attribute Type slaves : Map<URI,InetAddress> to slaves : Map<URI,InetSocketAddress> in class org.redisson.connection.DNSMonitor | From | To | |
Rename Parameter | 1 | ||
Rename Parameter redisClient : RedisClient to address : InetSocketAddress in method public slaveDown(address InetSocketAddress, freezeReason FreezeReason) : boolean in class org.redisson.connection.MasterSlaveEntry | From | To |