16bca5c66aca934e7653cdcb7f439f3bde659902
Files Diff
- Added: 4
- Removed: 4
- Renamed: 0
- Modified: 8
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Return Type | 1 | ||
| Change Return Type NonBlockingSemaphoreLike to Semaphore in method protected getFreeConnectionsForHost(partitionKey Object) : Semaphore in class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute globalSemaphore : ConnectionSemaphore to acquireTimeout : int in class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
| Extract Variable | 1 | ||
| Extract Variable maxConnections : int in method public newConnectionSemaphore(config AsyncHttpClientConfig) : ConnectionSemaphore from class org.asynchttpclient.netty.channel.DefaultConnectionSemaphoreFactory | From | To | |
| Change Attribute Type | 3 | ||
| Change Attribute Type globalSemaphore : ConnectionSemaphore to acquireTimeout : int in class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
| Change Attribute Type freeChannelsPerHost : ConcurrentHashMap<Object,NonBlockingSemaphore> to freeChannelsPerHost : ConcurrentHashMap<Object,Semaphore> in class org.asynchttpclient.netty.channel.PerHostConnectionSemaphore | From | To | |
| Change Attribute Type freeChannels : NonBlockingSemaphoreLike to freeChannels : Semaphore in class org.asynchttpclient.netty.channel.MaxConnectionSemaphore | From | To |