d328e667067743f723e332d92154da8e84e65742
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package size() : int renamed to package iterator() : Iterator<T> in class org.apache.hadoop.io.retry.AsyncCallHandler.ConcurrentQueue | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method package poll() : T moved from class org.apache.hadoop.io.retry.AsyncCallHandler.ConcurrentQueue to class org.apache.hadoop.io.retry.AsyncCallHandler.AsyncCallQueue & inlined to package checkCalls() : long | From | To | |
Change Return Type | 2 | ||
Change Return Type int to Iterator<T> in method package iterator() : Iterator<T> in class org.apache.hadoop.io.retry.AsyncCallHandler.ConcurrentQueue | From | To | |
Change Return Type void to long in method package checkCalls() : long in class org.apache.hadoop.io.retry.AsyncCallHandler.AsyncCallQueue | From | To | |
Rename Attribute | 2 | ||
Rename Attribute fail : RetryAction to action : RetryAction in class org.apache.hadoop.io.retry.RetryInvocationHandler.RetryInfo | From | To | |
Rename Attribute failover : RetryAction to expectedFailoverCount : long in class org.apache.hadoop.io.retry.RetryInvocationHandler.RetryInfo | From | To | |
Extract Method | 1 | ||
Extract Method package processWaitTimeAndRetryInfo() : CallReturn extracted from package invokeOnce() : CallReturn in class org.apache.hadoop.io.retry.RetryInvocationHandler.Call | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type failover : RetryAction to expectedFailoverCount : long in class org.apache.hadoop.io.retry.RetryInvocationHandler.RetryInfo | From | To | |
Change Attribute Type emptyStartTime : long to emptyStartTime : AtomicLong in class org.apache.hadoop.io.retry.AsyncCallHandler.ConcurrentQueue | From | To | |
Change Attribute Type LOG : Log to LOG : Logger in class org.apache.hadoop.io.retry.RetryInvocationHandler | From | To | |
Rename Parameter | 1 | ||
Rename Parameter failover : RetryAction to action : RetryAction in method package RetryInfo(delay long, action RetryAction, expectedFailoverCount long) in class org.apache.hadoop.io.retry.RetryInvocationHandler.RetryInfo | From | To |