b0822fbc8cf97f992f0a62380739e81ab81a1dde
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable clusterNodeInfo : ClusterNodeInfo to newMasterPart : ClusterPartition in method public run() : void in class org.redisson.connection.ClusterConnectionManager.monitorClusterChange.scheduleWithFixedDelay | From | To | |
Rename Variable nodes : List<ClusterNodeInfo> to partitions : Collection<ClusterPartition> in method public run() : void in class org.redisson.connection.ClusterConnectionManager.monitorClusterChange.scheduleWithFixedDelay | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute id : String to lastPartitions : Collection<ClusterPartition> in method public ClusterConnectionManager(cfg ClusterServersConfig, config Config) in class org.redisson.connection.ClusterConnectionManager | From | To | |
Change Variable Type | 3 | ||
Change Variable Type clusterNodeInfo : ClusterNodeInfo to newMasterPart : ClusterPartition in method public run() : void in class org.redisson.connection.ClusterConnectionManager.monitorClusterChange.scheduleWithFixedDelay | From | To | |
Change Variable Type nodes : List<ClusterNodeInfo> to partitions : Collection<ClusterPartition> in method public run() : void in class org.redisson.connection.ClusterConnectionManager.monitorClusterChange.scheduleWithFixedDelay | From | To | |
Change Variable Type id : String to lastPartitions : Collection<ClusterPartition> in method public ClusterConnectionManager(cfg ClusterServersConfig, config Config) in class org.redisson.connection.ClusterConnectionManager | From | To | |
Extract Method | 3 | ||
Extract Method private extractPartitions(nodesValue String) : Collection<ClusterPartition> extracted from public ClusterConnectionManager(cfg ClusterServersConfig, config Config) in class org.redisson.connection.ClusterConnectionManager | From | To | |
Extract Method public shutdownAsync() : ChannelGroupFuture extracted from public shutdown() : void in class com.lambdaworks.redis.RedisClient | From | To | |
Extract Method private monitorClusterChange(cfg ClusterServersConfig) : void extracted from public ClusterConnectionManager(cfg ClusterServersConfig, config Config) in class org.redisson.connection.ClusterConnectionManager | From | To |