970ea0e1fe6f489359f3f5241a73ea62a1f4a03e
Files Diff
- Added: 44
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method private commitEntry(iNetwork OChannelBinaryAsynchClient, txEntry ORecordOperation) : void from class com.orientechnologies.orient.client.remote.OStorageRemote to private commitEntry(iNetwork OChannelBinaryAsynchClient, txEntry ORecordOperation) : void from class com.orientechnologies.orient.client.remote.message.OCommitRequest | From | To | |
Move Method protected readSynchResult(network OChannelBinaryAsynchClient, database ODatabaseDocument, temporaryResults List<ORecord>) : Object from class com.orientechnologies.orient.client.remote.OStorageRemote to protected readSynchResult(network OChannelBinaryAsynchClient, database ODatabaseDocument, temporaryResults List<ORecord>) : Object from class com.orientechnologies.orient.client.remote.message.OCommandResponse | From | To | |
Rename Variable | 3 | ||
Rename Variable createdRid : ORecordId to res : T in method public execute(network OChannelBinaryAsynchClient, session OStorageRemoteSession) : T in class com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation.networkOperation | From | To | |
Rename Variable result : byte to res : T in method public execute(network OChannelBinaryAsynchClient, session OStorageRemoteSession) : T in class com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation.networkOperation | From | To | |
Rename Variable result : Object to res : T in method public execute(network OChannelBinaryAsynchClient, session OStorageRemoteSession) : T in class com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation.networkOperation | From | To | |
Change Variable Type | 3 | ||
Change Variable Type createdRid : ORecordId to res : T in method public execute(network OChannelBinaryAsynchClient, session OStorageRemoteSession) : T in class com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation.networkOperation | From | To | |
Change Variable Type result : byte to res : T in method public execute(network OChannelBinaryAsynchClient, session OStorageRemoteSession) : T in class com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation.networkOperation | From | To | |
Change Variable Type result : Object to res : T in method public execute(network OChannelBinaryAsynchClient, session OStorageRemoteSession) : T in class com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation.networkOperation | From | To | |
Extract Method | 19 | ||
Extract Method public removeClusterFromConfiguration(iClusterId int) : void extracted from public dropCluster(iClusterId int, iTruncate boolean) : boolean in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public countRecords() : long in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public getClusterDataRange(iClusterId int) : long[] in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public lowerPhysicalPositions(iClusterId int, physicalPosition OPhysicalPosition) : OPhysicalPosition[] in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public getSize() : long in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public getRecordMetadata(rid ORID) : ORecordMetadata in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public updateStorageInformations(clusters OCluster[]) : void extracted from public reload() : void in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public incrementalBackup(backupDirectory String) : String in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public higherPhysicalPositions(iClusterId int, iClusterPosition OPhysicalPosition) : OPhysicalPosition[] in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public commit(iTx OTransaction, callback Runnable) : List<ORecordOperation> in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public addCluster(iClusterName String, iRequestedId int, forceListBased boolean, iParameters Object...) : int in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public reload() : void in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public readRecord(iRid ORecordId, iFetchPlan String, iIgnoreCache boolean, prefetchRecords boolean, iCallback ORecordCallback<ORawBuffer>) : OStorageOperationResult<ORawBuffer> in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public ceilingPhysicalPositions(clusterId int, physicalPosition OPhysicalPosition) : OPhysicalPosition[] in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public readRecordIfVersionIsNotLatest(rid ORecordId, fetchPlan String, ignoreCache boolean, recordVersion int) : OStorageOperationResult<ORawBuffer> in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public floorPhysicalPositions(clusterId int, physicalPosition OPhysicalPosition) : OPhysicalPosition[] in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public dropCluster(iClusterId int, iTruncate boolean) : boolean in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public count(iClusterIds int[], countTombstones boolean) : long in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public command(iCommand OCommandRequestText) : Object in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract And Move Method | 85 | ||
Extract And Move Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public firstKey() : K in class com.orientechnologies.orient.client.remote.OSBTreeBonsaiRemote & moved to class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract And Move Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public get(key K) : V in class com.orientechnologies.orient.client.remote.OSBTreeBonsaiRemote & moved to class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract And Move Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from protected createTree(clusterId int) : OSBTreeBonsaiRemote<OIdentifiable,Integer> in class com.orientechnologies.orient.client.remote.OSBTreeCollectionManagerRemote & moved to class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract And Move Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from public getRealBagSize(changes Map<K,OSBTreeRidBag.Change>) : int in class com.orientechnologies.orient.client.remote.OSBTreeBonsaiRemote & moved to class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract And Move Method public networkOperation(request OBinaryRequest, response OBinaryResponse<T>, errorMessage String) : T extracted from private fetchEntriesMajor(key K, inclusive boolean) : List<Map.Entry<K,V>> in class com.orientechnologies.orient.client.remote.OSBTreeBonsaiRemote & moved to class com.orientechnologies.orient.client.remote.OStorageRemote | From | To |