129576f628d370def74e56112aba3a93e97bbf70
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getCallCountSnapshot() : Map<Object,Long> renamed to package getCallCostSnapshot() : Map<Object,Long> in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Method private getDecayedCallCounts() : Map<Object,Long> renamed to private getDecayedCallCosts() : Map<Object,Long> in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Method private getAndIncrementCallCounts(identity Object) : long renamed to private addCost(identity Object, costDelta long) : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Method private decayCurrentCounts() : void renamed to private decayCurrentCosts() : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable | 10 | ||
Rename Variable rawCount : AtomicLong to rawCost : AtomicLong in method private decayCurrentCosts() : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable totalDecayedCount : long to totalDecayedCost : long in method private decayCurrentCosts() : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable occurrences : long to currentCost : long in method private cachedOrComputedPriorityLevel(identity Object) : int in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable count : List<AtomicLong> to cost : List<AtomicLong> in method private addCost(identity Object, costDelta long) : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable otherCount : List<AtomicLong> to otherCost : List<AtomicLong> in method private addCost(identity Object, costDelta long) : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable decayedCount : AtomicLong to decayedCost : AtomicLong in method private decayCurrentCosts() : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable decayedCount : Long to decayedCost : Long in method private getDecayedCallCosts() : Map<Object,Long> in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable decayedCallCounts : Map<Object,Long> to decayedCallCosts : Map<Object,Long> in method private getDecayedCallCosts() : Map<Object,Long> in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable totalRawCount : long to totalRawCost : long in method private decayCurrentCosts() : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Variable count : Long to cost : Long in method private getTopCallers(n int) : TopN in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Change Return Type | 1 | ||
Change Return Type long to void in method private addCost(identity Object, costDelta long) : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Attribute | 3 | ||
Rename Attribute totalRawCallCount : AtomicLong to totalRawCallCost : AtomicLong in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Attribute totalDecayedCallCount : AtomicLong to totalDecayedCallCost : AtomicLong in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Attribute callCounts : ConcurrentHashMap<Object,List<AtomicLong>> to callCosts : ConcurrentHashMap<Object,List<AtomicLong>> in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Rename Parameter | 1 | ||
Rename Parameter occurrences : long to cost : long in method private computePriorityLevel(cost long) : int in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To |