f96a2df38d889f29314c57f4d94227b2e419a11f
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type processingTime : int to processingTime : long in method public addRpcProcessingTime(processingTime long) : void in class org.apache.hadoop.ipc.metrics.RpcMetrics | From | To | |
Change Parameter Type processingTime : int to processingTime : long in method package logSlowRpcCalls(methodName String, call Call, processingTime long) : void in class org.apache.hadoop.ipc.Server | From | To | |
Change Parameter Type qTime : int to qTime : long in method public addRpcQueueTime(qTime long) : void in class org.apache.hadoop.ipc.metrics.RpcMetrics | From | To | |
Change Parameter Type processingTime : int to processingTime : long in method public addProcessingTime(rpcCallName String, processingTime long) : void in class org.apache.hadoop.ipc.metrics.RpcDetailedMetrics | From | To | |
Rename Variable | 2 | ||
Rename Variable lastPurgeTime : long to lastPurgeTimeNanos : long in method private doRunLoop() : void in class org.apache.hadoop.ipc.Server.Responder | From | To | |
Rename Variable now : long to nowNanos : long in method private doRunLoop() : void in class org.apache.hadoop.ipc.Server.Responder | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [queueTime : int, processingTime : int] to details : ProcessingDetails in method public addResponseTime(callName String, schedulable Schedulable, details ProcessingDetails) : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To | |
Move And Rename Attribute | 1 | ||
Move And Rename Attribute package PURGE_INTERVAL : int renamed to private PURGE_INTERVAL_NANOS : long and moved from class org.apache.hadoop.ipc.Server.Responder to class org.apache.hadoop.ipc.Server | From | To | |
Rename Attribute | 4 | ||
Rename Attribute timestamp : long to timestampNanos : long in class org.apache.hadoop.ipc.Server.Call | From | To | |
Rename Attribute rpcQueueTimeMillisQuantiles : MutableQuantiles[] to rpcQueueTimeQuantiles : MutableQuantiles[] in class org.apache.hadoop.ipc.metrics.RpcMetrics | From | To | |
Rename Attribute rpcProcessingTimeMillisQuantiles : MutableQuantiles[] to rpcProcessingTimeQuantiles : MutableQuantiles[] in class org.apache.hadoop.ipc.metrics.RpcMetrics | From | To | |
Rename Attribute deferredRpcProcessingTimeMillisQuantiles : MutableQuantiles[] to deferredRpcProcessingTimeQuantiles : MutableQuantiles[] in class org.apache.hadoop.ipc.metrics.RpcMetrics | From | To | |
Extract Variable | 1 | ||
Extract Variable now : long in method private updateLockWait(startNanos long, isWrite boolean) : void from class org.apache.hadoop.hdfs.server.namenode.FSNamesystemLock | From | To | |
Extract Method | 6 | ||
Extract Method private doLockInterruptibly(isWrite boolean) : void extracted from public writeLockInterruptibly() : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystemLock | From | To | |
Extract Method private doLockInterruptibly(isWrite boolean) : void extracted from public readLockInterruptibly() : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystemLock | From | To | |
Extract Method private updateLockWait(startNanos long, isWrite boolean) : void extracted from public readLock() : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystemLock | From | To | |
Extract Method private doLock(isWrite boolean) : void extracted from public writeLock() : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystemLock | From | To | |
Extract Method private doLock(isWrite boolean) : void extracted from public readLock() : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystemLock | From | To | |
Extract Method private updateLockWait(startNanos long, isWrite boolean) : void extracted from public readLockInterruptibly() : void in class org.apache.hadoop.hdfs.server.namenode.FSNamesystemLock | From | To | |
Rename Parameter | 3 | ||
Rename Parameter name : String to rpcCallName : String in method public addProcessingTime(rpcCallName String, processingTime long) : void in class org.apache.hadoop.ipc.metrics.RpcDetailedMetrics | From | To | |
Rename Parameter name : String to callName : String in method public addResponseTime(callName String, schedulable Schedulable, details ProcessingDetails) : void in class org.apache.hadoop.ipc.RpcScheduler | From | To | |
Rename Parameter name : String to callName : String in method public addResponseTime(callName String, schedulable Schedulable, details ProcessingDetails) : void in class org.apache.hadoop.ipc.DecayRpcScheduler | From | To |