cd0d36c45d4c9676d31fcf944d440e15e11b9aa5
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 3 | ||
Rename Variable record : ORecord to loadedRecord : ORecord in method public executeRecordTask(requestId ODistributedRequestId, iServer OServer, iManager ODistributedServerManager, database ODatabaseDocumentTx) : Object in class com.orientechnologies.orient.server.distributed.task.ODeleteRecordTask | From | To | |
Rename Variable masterPlaceholder : OPlaceholder to finalClusterName : 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.ODistributedStorage | From | To | |
Rename Variable lastResult : ODistributedResponse to finalExecutionModeSynch : boolean in method public commit(iTx OTransaction, callback Runnable) : List<ORecordOperation> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private previousRecord : ORecord from class com.orientechnologies.orient.server.distributed.task.OUpdateRecordTask to protected previousRecord : ORecord from class com.orientechnologies.orient.server.distributed.task.OAbstractRecordReplicatedTask | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable exclusiveLock : boolean to iExclusiveLock : boolean in method private executeOperationInLock(iExclusiveLock boolean, callback OCallable<Object,Callable<Void>>) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Parameterize Variable clusterId : int to iPartition : int in method private executeRecordOperationInLock(iPartition int, callback OCallable<Object,Callable<Void>>) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Rename Attribute | 1 | ||
Rename Attribute sequentialRIDLock : ReentrantReadWriteLock to messageManagementLock : ReentrantReadWriteLock in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Change Variable Type | 2 | ||
Change Variable Type masterPlaceholder : OPlaceholder to finalClusterName : 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.ODistributedStorage | From | To | |
Change Variable Type lastResult : ODistributedResponse to finalExecutionModeSynch : boolean in method public commit(iTx OTransaction, callback Runnable) : List<ORecordOperation> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract Method | 4 | ||
Extract Method private executeRecordOperationInLock(iPartition int, callback OCallable<Object,Callable<Void>>) : Object 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.ODistributedStorage | From | To | |
Extract Method private executeRecordOperationInLock(iPartition int, callback OCallable<Object,Callable<Void>>) : Object extracted from public deleteRecord(iRecordId ORecordId, iVersion int, iMode int, iCallback ORecordCallback<Boolean>) : OStorageOperationResult<Boolean> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract Method private executeOperationInLock(iExclusiveLock boolean, callback OCallable<Object,Callable<Void>>) : Object extracted from public commit(iTx OTransaction, callback Runnable) : List<ORecordOperation> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract Method private executeRecordOperationInLock(iPartition int, callback OCallable<Object,Callable<Void>>) : Object extracted from public updateRecord(iRecordId ORecordId, updateContent boolean, iContent byte[], iVersion int, iRecordType byte, iMode int, iCallback ORecordCallback<Integer>) : OStorageOperationResult<Integer> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public prepareUndoOperation() : 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 | |
Extract And Move Method public prepareUndoOperation() : void extracted from public executeRecordTask(requestId ODistributedRequestId, iServer OServer, iManager ODistributedServerManager, database ODatabaseDocumentTx) : Object in class com.orientechnologies.orient.server.distributed.task.ODeleteRecordTask & moved to class com.orientechnologies.orient.server.distributed.task.OAbstractRecordReplicatedTask | From | To |