f61b8fcfbcee89aadd4550670c4b67cbe8fad370
Files Diff
- Added: 1
 - Removed: 0
 - Renamed: 0
 - Modified: 21
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public removeNodeInServerList(iNode String) : List<String> renamed to public setServerOffline(iNode String, newServerCoordinator String) : List<String> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
| Rename Method protected loadDistributedDatabases() : void renamed to protected loadLocalDatabases() : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Rename Method protected installNewDatabases(iStartup boolean) : void renamed to protected installNewDatabasesFromCluster(iStartup boolean) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type lastName : String to useTransaction : boolean in method protected RecordUpdater(dbServerUrl String, recordToUpdate ODocument, fields Map<String,String>, useTransaction boolean) in class com.orientechnologies.orient.server.distributed.scenariotest.AbstractScenarioTest.RecordUpdater | From | To | |
| Rename Variable | 1 | ||
| Rename Variable s : ServerRun to server : ServerRun in method protected onAfterExecution() : void in class com.orientechnologies.orient.server.distributed.DistributedDbDropAndReCreateTest | From | To | |
| Inline Method | 1 | ||
| Inline Method protected reassignOwnClusters(nodeLeftName String) : void inlined to public memberRemoved(iEvent MembershipEvent) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class com.orientechnologies.orient.server.distributed.scenariotest.UpdateConflictFixTaskScenarioTest.ClientWriter moved and renamed to com.orientechnologies.orient.server.distributed.scenariotest.AbstractScenarioTest.RecordUpdater | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute lastName : String to useTransaction : boolean in class com.orientechnologies.orient.server.distributed.scenariotest.AbstractScenarioTest.RecordUpdater | From | To | |
| Rename Attribute id : String to fields : Map<String,String> in class com.orientechnologies.orient.server.distributed.scenariotest.AbstractScenarioTest.RecordUpdater | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type nodes : Collection<String> to nodes : List<String> in method public setServerOffline(iNode String, newServerCoordinator String) : List<String> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
| Extract Variable | 4 | ||
| Extract Variable db : ODatabaseInternal in method protected installDbClustersLocalStrategy(iDatabase ODatabaseInternal) : void from class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Variable task : ORemoteTask in method public send2Nodes(iRequest ODistributedRequest, iClusterNames Collection<String>, iNodes Collection<String>, iExecutionMode ODistributedRequest.EXECUTION_MODE, localResult Object, iAfterSentCallback OCallable<Void,ODistributedRequestId>) : ODistributedResponse from class com.orientechnologies.orient.server.distributed.ODistributedDatabaseImpl | From | To | |
| Extract Variable clusters : String[] in method public setServerOffline(iNode String, newServerCoordinator String) : List<String> from class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
| Extract Variable rid : ORID in method public lockRecord(iRecord OIdentifiable, iRequestId ODistributedRequestId) : boolean from class com.orientechnologies.orient.server.distributed.ODistributedDatabaseImpl | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type lastName : String to useTransaction : boolean in class com.orientechnologies.orient.server.distributed.scenariotest.AbstractScenarioTest.RecordUpdater | From | To | |
| Change Attribute Type id : String to fields : Map<String,String> in class com.orientechnologies.orient.server.distributed.scenariotest.AbstractScenarioTest.RecordUpdater | From | To | |
| Inline Variable | 1 | ||
| Inline Variable backupDatabase : boolean in method public installDatabase(iStartup boolean, databaseName String, config ODocument) : boolean from class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Method | 7 | ||
| Extract Method protected onDatabaseEvent(nodeName String, databaseName String, status DB_STATUS) : void extracted from public entryUpdated(iEvent EntryEvent<String,Object>) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Method private installNewDatabase(iStartup boolean, databaseName String, config ODocument) : boolean extracted from protected installNewDatabases(iStartup boolean) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Method protected isRelatedToLocalServer(iDatabase ODatabaseInternal) : boolean extracted from public onOpen(iDatabase ODatabaseInternal) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Method protected onDatabaseEvent(nodeName String, databaseName String, status DB_STATUS) : void extracted from public entryRemoved(iEvent EntryEvent<String,Object>) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Method protected isRelatedToLocalServer(iDatabase ODatabaseInternal) : boolean extracted from public onCreate(iDatabase ODatabaseInternal) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Method protected isRelatedToLocalServer(iDatabase ODatabaseInternal) : boolean extracted from public onCreateClass(iDatabase ODatabaseInternal, iClass OClass) : void in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Method private retrieveRecord(dbUrl String, uniqueId String, returnsMissingDocument boolean) : ODocument extracted from protected retrieveRecord(dbUrl String, uniqueId String) : ODocument in class com.orientechnologies.orient.server.distributed.scenariotest.AbstractScenarioTest | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter lastName : String to useTransaction : boolean in method protected RecordUpdater(dbServerUrl String, recordToUpdate ODocument, fields Map<String,String>, useTransaction boolean) in class com.orientechnologies.orient.server.distributed.scenariotest.AbstractScenarioTest.RecordUpdater | From | To |