f2408458fa98e5b03835d856aa2870493d26239a
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type channelPreempted : boolean to connectionSemaphore : ConnectionSemaphore in method public NettyConnectListener(future NettyResponseFuture<T>, requestSender NettyRequestSender, channelManager ChannelManager, connectionSemaphore ConnectionSemaphore, partitionKey Object) in class org.asynchttpclient.netty.channel.NettyConnectListener | From | To | |
Move Method | 5 | ||
Move Method private tryAcquirePerHost(partitionKey Object) : boolean from class org.asynchttpclient.netty.channel.ChannelManager to private tryAcquirePerHost(partitionKey Object) : boolean from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Move Method private getFreeConnectionsForHost(partitionKey Object) : NonBlockingSemaphoreLike from class org.asynchttpclient.netty.channel.ChannelManager to private getFreeConnectionsForHost(partitionKey Object) : NonBlockingSemaphoreLike from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Move Method private tryAcquireGlobal() : boolean from class org.asynchttpclient.netty.channel.ChannelManager to private tryAcquireGlobal() : boolean from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Move Method public acquireChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.ChannelManager to public acquireChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Move Method public releaseChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.ChannelManager to public releaseChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Move Attribute | 4 | ||
Move Attribute private tooManyConnectionsPerHost : IOException from class org.asynchttpclient.netty.channel.ChannelManager to private tooManyConnectionsPerHost : IOException from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Move Attribute private freeChannelsPerHost : ConcurrentHashMap<Object,NonBlockingSemaphore> from class org.asynchttpclient.netty.channel.ChannelManager to private freeChannelsPerHost : ConcurrentHashMap<Object,NonBlockingSemaphore> from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Move Attribute private freeChannels : NonBlockingSemaphoreLike from class org.asynchttpclient.netty.channel.ChannelManager to private freeChannels : NonBlockingSemaphoreLike from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Move Attribute private tooManyConnections : IOException from class org.asynchttpclient.netty.channel.ChannelManager to private tooManyConnections : IOException from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Extract Class | 1 | ||
Extract Class org.asynchttpclient.netty.channel.ConnectionSemaphore from class org.asynchttpclient.netty.channel.ChannelManager | From | To | |
Rename Attribute | 1 | ||
Rename Attribute channelPreempted : boolean to connectionSemaphore : ConnectionSemaphore in class org.asynchttpclient.netty.channel.NettyConnectListener | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type channelPreempted : boolean to connectionSemaphore : ConnectionSemaphore in class org.asynchttpclient.netty.channel.NettyConnectListener | From | To | |
Rename Parameter | 1 | ||
Rename Parameter channelPreempted : boolean to connectionSemaphore : ConnectionSemaphore in method public NettyConnectListener(future NettyResponseFuture<T>, requestSender NettyRequestSender, channelManager ChannelManager, connectionSemaphore ConnectionSemaphore, partitionKey Object) in class org.asynchttpclient.netty.channel.NettyConnectListener | From | To |