0f057ba7d223dcb4b6300270210eea7da357050a
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public getCoordinator() : OStructuralCoordinator renamed to public getMaster() : OStructuralMaster in class com.orientechnologies.orient.distributed.impl.structural.OStructuralDistributedContext | From | To | |
Rename Method public getContext() : OrientDBDistributed renamed to public getOrientDB() : OrientDBDistributed in class com.orientechnologies.orient.distributed.impl.structural.raft.OStructuralMaster | From | To | |
Rename Method public executeStructuralOperationRequest(request OStructuralOperationRequest) : void renamed to public executePropagate(propagate ONetworkPropagate) : void in class com.orientechnologies.orient.distributed.hazelcast.OCoordinatedExecutorMessageHandler | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type request : OStructuralOperationRequest to propagate : ONetworkPropagate in method public executePropagate(propagate ONetworkPropagate) : void in class com.orientechnologies.orient.distributed.hazelcast.OCoordinatedExecutorMessageHandler | From | To | |
Rename Variable | 1 | ||
Rename Variable executor : OStructuralDistributedExecutor to slave : OStructuralSlave in method public executePropagate(propagate ONetworkPropagate) : void in class com.orientechnologies.orient.distributed.hazelcast.OCoordinatedExecutorMessageHandler | From | To | |
Change Return Type | 1 | ||
Change Return Type OStructuralCoordinator to OStructuralMaster in method public getMaster() : OStructuralMaster in class com.orientechnologies.orient.distributed.impl.structural.OStructuralDistributedContext | From | To | |
Rename Attribute | 5 | ||
Rename Attribute nodeIdentity : ONodeIdentity to senderNode : ONodeIdentity in class com.orientechnologies.orient.distributed.impl.coordinator.network.ONetworkAck | From | To | |
Rename Attribute nodeIdentity : ONodeIdentity to senderNode : ONodeIdentity in class com.orientechnologies.orient.distributed.impl.coordinator.network.ONetworkPropagate | From | To | |
Rename Attribute coordinator : OStructuralCoordinator to master : OStructuralMaster in class com.orientechnologies.orient.distributed.impl.structural.OStructuralDistributedContext | From | To | |
Rename Attribute nodeIdentity : ONodeIdentity to senderNode : ONodeIdentity in class com.orientechnologies.orient.distributed.impl.coordinator.network.ONetworkConfirm | From | To | |
Rename Attribute executor : OStructuralDistributedExecutor to slave : OStructuralSlave in class com.orientechnologies.orient.distributed.impl.structural.OStructuralDistributedContext | From | To | |
Change Variable Type | 2 | ||
Change Variable Type id : OStructuralSubmitId to id : OSessionOperationId in method public simpleTimeoutTest() : void in class com.orientechnologies.orient.distributed.impl.structural.OStructuralCoordinatorTest | From | To | |
Change Variable Type executor : OStructuralDistributedExecutor to slave : OStructuralSlave in method public executePropagate(propagate ONetworkPropagate) : void in class com.orientechnologies.orient.distributed.hazelcast.OCoordinatedExecutorMessageHandler | From | To | |
Extract Interface | 1 | ||
Extract Interface com.orientechnologies.orient.distributed.impl.structural.raft.OMasterContext from classes [com.orientechnologies.orient.distributed.impl.structural.raft.OStructuralMaster] | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type executor : OStructuralDistributedExecutor to slave : OStructuralSlave in class com.orientechnologies.orient.distributed.impl.structural.OStructuralDistributedContext | From | To | |
Change Attribute Type coordinator : OStructuralCoordinator to master : OStructuralMaster in class com.orientechnologies.orient.distributed.impl.structural.OStructuralDistributedContext | From | To | |
Rename Parameter | 4 | ||
Rename Parameter nodeIdentity : ONodeIdentity to senderNode : ONodeIdentity in method public ONetworkAck(senderNode ONodeIdentity, logId OLogId) in class com.orientechnologies.orient.distributed.impl.coordinator.network.ONetworkAck | From | To | |
Rename Parameter request : OStructuralOperationRequest to propagate : ONetworkPropagate in method public executePropagate(propagate ONetworkPropagate) : void in class com.orientechnologies.orient.distributed.hazelcast.OCoordinatedExecutorMessageHandler | From | To | |
Rename Parameter nodeIdentity : ONodeIdentity to senderNode : ONodeIdentity in method public ONetworkPropagate(senderNode ONodeIdentity, id OLogId, operation ORaftOperation) in class com.orientechnologies.orient.distributed.impl.coordinator.network.ONetworkPropagate | From | To | |
Rename Parameter nodeIdentity : ONodeIdentity to senderNode : ONodeIdentity in method public ONetworkConfirm(senderNode ONodeIdentity, id OLogId) in class com.orientechnologies.orient.distributed.impl.coordinator.network.ONetworkConfirm | From | To |