39653862a4d24b5309e972ca38554a7f81bc94fd
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method package toTraceString() : String moved from class org.apache.hadoop.hbase.ipc.RpcServer.Call to class org.apache.hadoop.hbase.ipc.CallRunner & inlined to public run() : void | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type m : Object to m : Message in method public setResponse(m Message, cells CellScanner, t Throwable, errorMsg String) : void in class org.apache.hadoop.hbase.ipc.RpcServer.Call | From | To | |
Change Parameter Type call : Call to call : RpcCall in method package CallRunner(rpcServer RpcServerInterface, call RpcCall) in class org.apache.hadoop.hbase.ipc.CallRunner | From | To | |
Change Return Type | 1 | ||
Change Return Type Call to RpcServer.Call in method public getCall() : RpcServer.Call in class org.apache.hadoop.hbase.ipc.CallRunner | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [md : MethodDescriptor, param : Message, receiveTime : long, startTime : long] to call : RpcCall in method public call(call RpcCall, status MonitoredRPCHandler) : Pair<Message,CellScanner> in class org.apache.hadoop.hbase.ipc.RpcServer | From | To | |
Change Variable Type | 5 | ||
Change Variable Type call : Call to call : RpcCall in method public getRemoteIp() : InetAddress in class org.apache.hadoop.hbase.ipc.RpcServer | From | To | |
Change Variable Type call : RpcServer.Call to call : RpcCall in method public dispatch(callTask CallRunner) : boolean in class org.apache.hadoop.hbase.ipc.SimpleRpcScheduler | From | To | |
Change Variable Type callA : RpcServer.Call to callA : RpcCall in method public compare(a CallRunner, b CallRunner) : int in class org.apache.hadoop.hbase.ipc.RpcExecutor.CallPriorityComparator | From | To | |
Change Variable Type callB : RpcServer.Call to callB : RpcCall in method public compare(a CallRunner, b CallRunner) : int in class org.apache.hadoop.hbase.ipc.RpcExecutor.CallPriorityComparator | From | To | |
Change Variable Type call : RpcServer.Call to call : RpcCall in method public dispatch(callTask CallRunner) : boolean in class org.apache.hadoop.hbase.ipc.RWQueueRpcExecutor | From | To | |
Extract Interface | 1 | ||
Extract Interface org.apache.hadoop.hbase.ipc.RpcCall from classes [org.apache.hadoop.hbase.ipc.RpcServer.Call] | From | To | |
Extract Method | 1 | ||
Extract Method public call(call RpcCall, status MonitoredRPCHandler) : Pair<Message,CellScanner> extracted from public call(service BlockingService, md MethodDescriptor, param Message, cellScanner CellScanner, receiveTime long, status MonitoredRPCHandler, startTime long, timeout int) : Pair<Message,CellScanner> in class org.apache.hadoop.hbase.ipc.RpcServer | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type CurCall : ThreadLocal<Call> to CurCall : ThreadLocal<RpcCall> in class org.apache.hadoop.hbase.ipc.RpcServer | From | To | |
Change Attribute Type call : Call to call : RpcCall in class org.apache.hadoop.hbase.ipc.CallRunner | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public setStartTime(t long) : void extracted from public run() : void in class org.apache.hadoop.hbase.ipc.CallRunner & moved to class org.apache.hadoop.hbase.ipc.RpcServer.Call | From | To |