4f6e8297c721c86fcb5e2bd2d88a496017a9c351
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public rebalanceClusterOwnershipOfClass(iDatabase ODatabaseInternal, cfg ODistributedConfiguration, iClass OClass, availableNodes Set<String>, clustersToReassign Set<String>) : boolean renamed to public assignClusterOwnershipOfClass(iDatabase ODatabaseInternal, cfg ODistributedConfiguration, iClass OClass, availableNodes Set<String>, clustersToReassign Set<String>, rebalance boolean) : boolean in class com.orientechnologies.orient.server.distributed.ODefaultClusterOwnershipAssignmentStrategy | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type clusterId : int to rid : ORecordId in method private executeRecordOperationInLock(iUnlockAtTheEnd boolean, rid ORecordId, callback OCallable<Object,OCallable<Void,ODistributedRequestId>>) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Change Return Type | 1 | ||
Change Return Type void to ORecord in method public prepareUndoOperation() : ORecord in class com.orientechnologies.orient.server.distributed.task.OAbstractRecordReplicatedTask | From | To | |
Rename Class | 1 | ||
Rename Class com.orientechnologies.orient.server.distributed.ODefaultClusterOwnershipRebalanceStrategy renamed to com.orientechnologies.orient.server.distributed.ODefaultClusterOwnershipAssignmentStrategy | From | To | |
Change Variable Type | 1 | ||
Change Variable Type deployTask : OAbstractReplicatedTask to deployTask : OSyncDatabaseDeltaTask in method public requestDatabaseDelta(distrDatabase ODistributedDatabaseImpl, databaseName String) : boolean in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
Extract Method | 2 | ||
Extract Method protected reassignOwnClusters(nodeLeftName String) : void extracted from public memberRemoved(iEvent MembershipEvent) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
Extract Method protected reassignClusters(cfg ODistributedConfiguration, availableNodes Set<String>, clustersOfClassToReassign Set<String>, clusterNames Set<String>, rebalance boolean) : Map<String,String> extracted from public rebalanceClusterOwnershipOfClass(iDatabase ODatabaseInternal, cfg ODistributedConfiguration, iClass OClass, availableNodes Set<String>, clustersToReassign Set<String>) : boolean in class com.orientechnologies.orient.server.distributed.ODefaultClusterOwnershipAssignmentStrategy | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public checkRecordExists() : void extracted from public executeRecordTask(requestId ODistributedRequestId, iServer OServer, iManager ODistributedServerManager, database ODatabaseDocumentTx) : Object in class com.orientechnologies.orient.server.distributed.task.OUpdateRecordTask & moved to class com.orientechnologies.orient.server.distributed.task.OAbstractRecordReplicatedTask | From | To | |
Rename Parameter | 1 | ||
Rename Parameter clusterId : int to rid : ORecordId in method private executeRecordOperationInLock(iUnlockAtTheEnd boolean, rid ORecordId, callback OCallable<Object,OCallable<Void,ODistributedRequestId>>) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To |