c5ac1a0130228eadd6c68bb4dceb066cd15f3b19
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 4 | ||
Push Down Method public releaseChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.ConnectionSemaphore to public releaseChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.MaxConnectionSemaphore | From | To | |
Push Down Method private tryAcquirePerHost(partitionKey Object) : boolean from class org.asynchttpclient.netty.channel.ConnectionSemaphore to public releaseChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
Push Down Method public acquireChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.ConnectionSemaphore to public acquireChannelLock(partitionKey Object) : void from class org.asynchttpclient.netty.channel.MaxConnectionSemaphore | From | To | |
Push Down Method private getFreeConnectionsForHost(partitionKey Object) : NonBlockingSemaphoreLike from class org.asynchttpclient.netty.channel.ConnectionSemaphore to private getFreeConnectionsForHost(partitionKey Object) : NonBlockingSemaphoreLike from class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
Extract Subclass | 2 | ||
Extract Subclass org.asynchttpclient.netty.channel.MaxConnectionSemaphore from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Extract Subclass org.asynchttpclient.netty.channel.PerHostConnectionSemaphore from class org.asynchttpclient.netty.channel.ConnectionSemaphore | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to void in method public releaseChannelLock(partitionKey Object) : void in class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
Push Down Attribute | 5 | ||
Push Down Attribute private tooManyConnectionsPerHost : IOException from class org.asynchttpclient.netty.channel.ConnectionSemaphore to private tooManyConnectionsPerHost : IOException from class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
Push Down Attribute private freeChannelsPerHost : ConcurrentHashMap<Object,NonBlockingSemaphore> from class org.asynchttpclient.netty.channel.ConnectionSemaphore to private freeChannelsPerHost : ConcurrentHashMap<Object,NonBlockingSemaphore> from class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
Push Down Attribute private freeChannels : NonBlockingSemaphoreLike from class org.asynchttpclient.netty.channel.ConnectionSemaphore to private freeChannels : NonBlockingSemaphoreLike from class org.asynchttpclient.netty.channel.MaxConnectionSemaphore | From | To | |
Push Down Attribute private tooManyConnections : IOException from class org.asynchttpclient.netty.channel.ConnectionSemaphore to private tooManyConnections : IOException from class org.asynchttpclient.netty.channel.MaxConnectionSemaphore | From | To | |
Push Down Attribute private maxConnectionsPerHost : int from class org.asynchttpclient.netty.channel.ConnectionSemaphore to private maxConnectionsPerHost : int from class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To |