cf41ced1a0763e6526c7879598c823ae0110339d
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 14
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type iServer : OServer to manager : ODistributedServerManager in method public ODistributedTransactionManager(storage ODistributedStorage, manager ODistributedServerManager, iDDatabase ODistributedDatabase) in class com.orientechnologies.orient.server.distributed.impl.ODistributedTransactionManager | From | To | |
| Change Parameter Type database : ODatabaseDocumentInternal to database : ODatabaseDocumentTx in method public commit(database ODatabaseDocumentTx, iTx OTransaction, callback Runnable, eventListener ODistributedStorageEventListener) : List<ORecordOperation> in class com.orientechnologies.orient.server.distributed.impl.ODistributedTransactionManager | From | To | |
| Rename Variable | 3 | ||
| Rename Variable nodes : List<String> to servers : List<String> in method public createRecord(iRecordId ORecordId, iContent byte[], iRecordVersion int, iRecordType byte, iMode int, iCallback ORecordCallback<Long>) : OStorageOperationResult<OPhysicalPosition> in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Rename Variable task : OCreateRecordTask to oldRID : ORecordId in method protected checkForCluster(iRecordId ORecordId, localNodeName String, dbCfg ODistributedConfiguration) : String in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Rename Variable masterNode : String to ownerNode : String in method protected checkForCluster(iRecordId ORecordId, localNodeName String, dbCfg ODistributedConfiguration) : String in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Change Return Type | 3 | ||
| Change Return Type ODatabaseDocumentInternal to ODatabaseDocumentTx in method public getDatabaseInstance() : ODatabaseDocumentTx in class com.orientechnologies.orient.server.distributed.ODistributedDatabase | From | To | |
| Change Return Type ODatabaseDocumentInternal to ODatabaseDocumentTx in method public getDatabase() : ODatabaseDocumentTx in class com.orientechnologies.orient.server.distributed.impl.ODistributedWorker | From | To | |
| Change Return Type ODatabaseDocumentInternal to ODatabaseDocumentTx in method protected installDatabaseOnLocalNode(databaseName String, dbPath String, iNode String, iDatabaseCompressedFile String, delta boolean, uniqueClustersBackupDirectory File) : ODatabaseDocumentTx in class com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin | From | To | |
| Extract Variable | 2 | ||
| Extract Variable dCfg : ODistributedConfiguration in method public updateCachedDatabaseConfiguration(iDatabaseName String, cfg ODocument, iSaveToDisk boolean, iDeployToCluster boolean) : void from class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To | |
| Extract Variable rec : ORecord in method protected processCommitResult(localNodeName String, iTx OTransaction, txTask OTxTask, involvedClusters Set<String>, tmpEntries Iterable<ORecordOperation>, nodes Collection<String>, autoRetryDelay int, reqId ODistributedRequestId, dResponse ODistributedResponse, isLastRetry boolean) : boolean from class com.orientechnologies.orient.server.distributed.impl.ODistributedTransactionManager | From | To | |
| Change Variable Type | 7 | ||
| Change Variable Type database : ODatabaseDocumentInternal to database : ODatabaseDocumentTx in method public call() : Object in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.executeUndoOnLocalServer.executeAsDistributed | From | To | |
| Change Variable Type database : ODatabaseDocumentInternal to database : ODatabaseDocumentTx in method public handleUnreachableNode(iNodeId int) : void in class com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl | From | To | |
| Change Variable Type currentDatabase : ODatabaseDocumentInternal to currentDatabase : ODatabaseDocumentTx in method protected getAsyncReplicationError() : OAsyncReplicationError in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Change Variable Type task : OCreateRecordTask to oldRID : ORecordId in method protected checkForCluster(iRecordId ORecordId, localNodeName String, dbCfg ODistributedConfiguration) : String in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Change Variable Type db : ODatabaseDocumentInternal to db : ODatabaseDocumentTx in method protected installDatabaseFromNetwork(dbPath String, databaseName String, distrDatabase ODistributedDatabaseImpl, iNode String, firstChunk ODistributedDatabaseChunk, delta boolean, uniqueClustersBackupDirectory File) : void in class com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin | From | To | |
| Change Variable Type db : ODatabaseDocumentInternal to db : ODatabaseDocumentTx in method protected installDatabaseOnLocalNode(databaseName String, dbPath String, iNode String, iDatabaseCompressedFile String, delta boolean, uniqueClustersBackupDirectory File) : ODatabaseDocumentTx in class com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin | From | To | |
| Change Variable Type copyDatabase : ODatabaseDocument to copyDatabase : ODatabaseDocumentTx in method protected getAsyncReplicationError() : OAsyncReplicationError in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type database : ODatabaseDocumentInternal to database : ODatabaseDocumentTx in class com.orientechnologies.orient.server.distributed.impl.ODistributedWorker | From | To | |
| Extract Method | 1 | ||
| Extract Method protected checkForCluster(iRecordId ORecordId, localNodeName String, dbCfg ODistributedConfiguration) : String extracted from public createRecord(iRecordId ORecordId, iContent byte[], iRecordVersion int, iRecordType byte, iMode int, iCallback ORecordCallback<Long>) : OStorageOperationResult<OPhysicalPosition> in class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public getConfigurationUpdated() : int extracted from public getCluster(iClass OClass, doc ODocument) : int in class com.orientechnologies.orient.server.distributed.impl.OLocalClusterStrategy & moved to class com.orientechnologies.orient.server.distributed.impl.ODistributedStorage | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter iServer : OServer to manager : ODistributedServerManager in method public ODistributedTransactionManager(storage ODistributedStorage, manager ODistributedServerManager, iDDatabase ODistributedDatabase) in class com.orientechnologies.orient.server.distributed.impl.ODistributedTransactionManager | From | To |