73182feab0d7ca3bec0c150ba5e29b71bbf3f754
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 7 | ||
Rename Method private joinRing() : void renamed to private joinCluster() : void in class org.lealone.aose.server.P2pServer | From | To | |
Rename Method public setLocalHostId(hostId String) : String renamed to private updatePeerInfo(hostId String, columnName String, value Object) : void in class org.lealone.aose.server.ClusterMetaData | From | To | |
Rename Method public getEndpointForHostId(hostId String) : NetEndpoint renamed to public getEndpoint(hostId String) : NetEndpoint in class org.lealone.aose.locator.TopologyMetaData | From | To | |
Rename Method public cachedOnlyTokenMap() : TopologyMetaData renamed to public getCacheOnlyHostIdMap() : TopologyMetaData in class org.lealone.aose.locator.TopologyMetaData | From | To | |
Rename Method public cloneOnlyTokenMap() : TopologyMetaData renamed to private cloneOnlyHostIdMap() : TopologyMetaData in class org.lealone.aose.locator.TopologyMetaData | From | To | |
Rename Method public sortedHostIds() : ArrayList<String> renamed to public getSortedHostIds() : ArrayList<String> in class org.lealone.aose.locator.TopologyMetaData | From | To | |
Rename Method private loadRingState() : void renamed to private loadPersistedNodeInfo() : void in class org.lealone.aose.server.P2pServer | From | To | |
Move Method | 1 | ||
Move Method private getRingDelay() : int from class org.lealone.aose.server.P2pServer to private getRingDelay() : int from class org.lealone.aose.gms.Gossiper | From | To | |
Rename Variable | 1 | ||
Rename Variable peer : NetEndpoint to endpoint : NetEndpoint in method public loadHostIds() : Map<NetEndpoint,String> in class org.lealone.aose.server.ClusterMetaData | From | To | |
Change Return Type | 1 | ||
Change Return Type String to void in method private updatePeerInfo(hostId String, columnName String, value Object) : void in class org.lealone.aose.server.ClusterMetaData | From | To | |
Move Attribute | 1 | ||
Move Attribute public RING_DELAY : int from class org.lealone.aose.server.P2pServer to private RING_DELAY : int from class org.lealone.aose.gms.Gossiper | From | To | |
Move Class | 1 | ||
Move Class org.lealone.aose.util.BackgroundActivityMonitor moved to org.lealone.aose.server.BackgroundActivityMonitor | From | To | |
Rename Attribute | 3 | ||
Rename Attribute VALUE_FACTORY : VersionedValueFactory to valueFactory : VersionedValueFactory in class org.lealone.aose.server.P2pServer | From | To | |
Rename Attribute compaction_severity : AtomicDouble to compactionSeverity : AtomicDouble in class org.lealone.aose.server.BackgroundActivityMonitor | From | To | |
Rename Attribute manual_severity : AtomicDouble to manualSeverity : AtomicDouble in class org.lealone.aose.server.BackgroundActivityMonitor | From | To | |
Extract Variable | 1 | ||
Extract Variable local : NetEndpoint in method private loadPersistedNodeInfo() : void from class org.lealone.aose.server.P2pServer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter endpointsMap : BiMap<NetEndpoint,String> to endpointToHostIdMap : BiMap<NetEndpoint,String> in method private TopologyMetaData(endpointToHostIdMap BiMap<NetEndpoint,String>, topology Topology) in class org.lealone.aose.locator.TopologyMetaData | From | To |