088d5540da851d56966256416326edd2d9bfa712
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method package acquireChannelId(fromName String) : int from class net.openhft.chronicle.map.MapWireHandler to package acquireMap(fromName String) : BytesChronicleMap from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Move Method | 3 | ||
| Move Method package getNextFreeChannel() : short from class net.openhft.chronicle.map.MapWireHandler to package getNextFreeChannel() : short from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Move Method private map(channelId int) : ReplicatedChronicleMap from class net.openhft.chronicle.map.MapWireHandler to private map(channelId int) : ReplicatedChronicleMap from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Move Method private bytesMap(channelId int) : BytesChronicleMap from class net.openhft.chronicle.map.MapWireHandler to package bytesMap(channelId int) : BytesChronicleMap from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Change Return Type | 3 | ||
| Change Return Type Object to V in method private readV(argName WireKey, wireIn Wire, usingValue V) : V in class net.openhft.chronicle.map.MapStatelessClient | From | To | |
| Change Return Type int to BytesChronicleMap in method package acquireMap(fromName String) : BytesChronicleMap in class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Change Return Type Object to V in method protected readValue(argName WireKey, tid long, startTime long, usingValue V) : V in class net.openhft.chronicle.map.MapStatelessClient | From | To | |
| Move Attribute | 6 | ||
| Move Attribute private hub : ReplicationHub from class net.openhft.chronicle.map.MapWireHandler to private hub : ReplicationHub from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Move Attribute private localIdentifier : byte from class net.openhft.chronicle.map.MapWireHandler to private localIdentifier : byte from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Move Attribute private channelNameToId : ChronicleMap<String,Integer> from class net.openhft.chronicle.map.MapWireHandler to protected channelNameToId : ChronicleMap<String,Integer> from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Move Attribute private mapFactory : Supplier<ChronicleHashInstanceBuilder<ChronicleMap<K,V>>> from class net.openhft.chronicle.map.MapWireHandler to private mapFactory : Supplier<ChronicleHashInstanceBuilder<ChronicleMap<K,V>>> from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Move Attribute public MAP_SERVICE : int from class net.openhft.chronicle.map.MapWireHandler to public MAP_SERVICE : int from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Move Attribute private bytesChronicleMaps : ArrayList<BytesChronicleMap> from class net.openhft.chronicle.map.MapWireHandler to private bytesChronicleMaps : ArrayList<BytesChronicleMap> from class net.openhft.chronicle.map.MapWireConnectionHub | From | To | |
| Extract Class | 1 | ||
| Extract Class net.openhft.chronicle.map.MapWireConnectionHub from class net.openhft.chronicle.map.MapWireHandler | From | To | |
| Replace Variable With Attribute | 2 | ||
| Replace Variable With Attribute bytesMap : BytesChronicleMap to bytesChronicleMap : BytesChronicleMap in method private writeVoid(process Consumer<BytesChronicleMap>) : void in class net.openhft.chronicle.map.MapWireHandler | From | To | |
| Replace Variable With Attribute bytesMap : BytesChronicleMap to bytesChronicleMap : BytesChronicleMap in method package write(c Consumer<BytesChronicleMap>) : void in class net.openhft.chronicle.map.MapWireHandler | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute channels : Map<Integer,Replica> to mapWireConnectionHub : MapWireConnectionHub in class net.openhft.chronicle.map.MapWireHandler | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type channels : Map<Integer,Replica> to mapWireConnectionHub : MapWireConnectionHub in class net.openhft.chronicle.map.MapWireHandler | From | To |