14d0ae89b4add2297a45a7504ca76bb26e74f66c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public getOwnerOfCluster(iClusterName String) : String renamed to public getClusterOwner(iClusterName String) : String in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Rename Method public getOwnedClusters(iClusterNames Collection<String>, iNode String) : List<String> renamed to public getOwnedClustersByServer(iClusterNames Collection<String>, iNode String) : List<String> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Rename Method public getClustersWithOwner(iNodeName String) : Set<String> renamed to public getClustersOwnedByServer(iNodeName String) : Set<String> in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Extract Variable | 5 | ||
Extract Variable localResultPayload : Boolean in method public deleteRecord(iRecordId ORecordId, iVersion int, iMode int, iCallback ORecordCallback<Boolean>) : OStorageOperationResult<Boolean> from class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract Variable localResultPayload : Integer in method public updateRecord(iRecordId ORecordId, updateContent boolean, iContent byte[], iVersion int, iRecordType byte, iMode int, iCallback ORecordCallback<Integer>) : OStorageOperationResult<Integer> from class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract Variable localResultPayload : Boolean in method public call(unlockCallback OCallable<Void,ODistributedRequestId>) : Object from class com.orientechnologies.orient.server.distributed.ODistributedStorage.deleteRecord.executeRecordOperationInLock | From | To | |
Extract Variable localResultPayload : Integer in method public call(unlockCallback OCallable<Void,ODistributedRequestId>) : Object from class com.orientechnologies.orient.server.distributed.ODistributedStorage.updateRecord.executeRecordOperationInLock | From | To | |
Extract Variable expectedClusterNameAssigned : String in method protected executeTest() : void from class com.orientechnologies.orient.server.distributed.TestSharding | From | To | |
Extract Method | 2 | ||
Extract Method protected getConfiguredClusters() : ODocument extracted from public getClusterConfiguration(iClusterName String) : ODocument in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Extract Method protected getConfiguredClusters() : ODocument extracted from public getOwnerOfCluster(iClusterName String) : String in class com.orientechnologies.orient.server.distributed.ODistributedConfiguration | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type remoteServers : Map<String,ORemoteServerController> to remoteServers : ConcurrentMap<String,ORemoteServerController> in class com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin | From | To |