6cb9b7199c90a2348f33ebf8f4fdb5b32a7c4b04
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 3 | ||
Rename Variable emptyQueues : CountDownLatch to syncLatch : CountDownLatch in method public processRequest(request ODistributedRequest) : void in class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To | |
Rename Variable partitionKey : int to partitionKeys : int[] in method public processRequest(request ODistributedRequest) : void in class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To | |
Rename Variable partition : int to partitions : int[] in method public getPartitionKey() : int[] in class com.orientechnologies.orient.server.distributed.impl.task.OTxTask | From | To | |
Change Return Type | 4 | ||
Change Return Type int to int[] in method public getPartitionKey() : int[] in class com.orientechnologies.orient.server.distributed.task.OAbstractRecordReplicatedTask | From | To | |
Change Return Type int to int[] in method public getPartitionKey() : int[] in class com.orientechnologies.orient.server.distributed.impl.task.OTxTask | From | To | |
Change Return Type int to int[] in method public getPartitionKey() : int[] in class com.orientechnologies.orient.server.distributed.task.OAbstractRemoteTask | From | To | |
Change Return Type int to int[] in method public getPartitionKey() : int[] in class com.orientechnologies.orient.server.distributed.task.ORemoteTask | From | To | |
Change Variable Type | 2 | ||
Change Variable Type partitionKey : int to partitionKeys : int[] in method public processRequest(request ODistributedRequest) : void in class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To | |
Change Variable Type partition : int to partitions : int[] in method public getPartitionKey() : int[] in class com.orientechnologies.orient.server.distributed.impl.task.OTxTask | From | To | |
Extract Variable | 1 | ||
Extract Variable req : ODistributedRequest in method public processRequest(request ODistributedRequest) : void from class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To | |
Inline Variable | 1 | ||
Inline Variable worker : ODistributedWorker in method public processRequest(request ODistributedRequest) : void from class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To | |
Extract Method | 1 | ||
Extract Method protected processRequest(partitionKey int, request ODistributedRequest) : void extracted from public processRequest(request ODistributedRequest) : void in class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getPartitionKey() : int[] extracted from public getPartitionKey() : int in class com.orientechnologies.orient.server.distributed.impl.task.OTxTask & moved to class com.orientechnologies.orient.server.distributed.impl.task.OCompletedTxTask | From | To | |
Extract And Move Method public setLSN(sourceNodeName String, taskLastLSN OLogSequenceNumber) : void extracted from public executeOnLocalNode(reqId ODistributedRequestId, task ORemoteTask, database ODatabaseDocumentInternal) : Serializable in class com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin & moved to class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To |