8589c82b4cbc8a73417974107186f9ccc3a629d3
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Inline Method | 2 | ||
| Move And Inline Method public returnExclusiveSegments(segments List<MemorySegment>) : void moved from class org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate to class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannel & inlined to public recycle(segment MemorySegment) : void | From | To | |
| Move And Inline Method public returnExclusiveSegments(segments List<MemorySegment>) : void moved from class org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate to class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannel & inlined to package releaseAllResources() : void | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type client : PartitionRequestClient to memorySegmentProvider : MemorySegmentProvider in method private createRemoteInputChannel(inputGate SingleInputGate, memorySegmentProvider MemorySegmentProvider) : RemoteInputChannel in class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannelTest | From | To | |
| Move Method | 3 | ||
| Move Method package createRemoteInputChannel(inputGate SingleInputGate, client PartitionRequestClient, initialBackoff int, maxBackoff int) : RemoteInputChannel from class org.apache.flink.runtime.io.network.netty.PartitionRequestClientHandlerTest to private createRemoteInputChannel(inputGate SingleInputGate, partitionRequestClient PartitionRequestClient, initialBackoff int, maxBackoff int, memorySegmentProvider MemorySegmentProvider) : RemoteInputChannel from class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannelTest | From | To | |
| Move Method package createRemoteInputChannel(inputGate SingleInputGate) : RemoteInputChannel from class org.apache.flink.runtime.io.network.netty.PartitionRequestClientHandlerTest to private createRemoteInputChannel(inputGate SingleInputGate, memorySegmentProvider MemorySegmentProvider) : RemoteInputChannel from class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannelTest | From | To | |
| Move Method package createRemoteInputChannel(inputGate SingleInputGate, client PartitionRequestClient) : RemoteInputChannel from class org.apache.flink.runtime.io.network.netty.PartitionRequestClientHandlerTest to private createRemoteInputChannel(inputGate SingleInputGate, memorySegmentProvider MemorySegmentProvider) : RemoteInputChannel from class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannelTest | From | To | |
| Move Attribute | 4 | ||
| Move Attribute private memorySegmentProvider : MemorySegmentProvider from class org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate to private memorySegmentProvider : MemorySegmentProvider from class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannel | From | To | |
| Move Attribute private memorySegmentProvider : MemorySegmentProvider from class org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate to private memorySegmentProvider : MemorySegmentProvider from class org.apache.flink.runtime.io.network.partition.consumer.InputChannelBuilder | From | To | |
| Move Attribute private memorySegmentProvider : MemorySegmentProvider from class org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate to private memorySegmentProvider : MemorySegmentProvider from class org.apache.flink.runtime.io.network.partition.consumer.UnknownInputChannel | From | To | |
| Move Attribute private memorySegmentProvider : MemorySegmentProvider from class org.apache.flink.runtime.io.network.partition.consumer.SingleInputGate to private memorySegmentProvider : MemorySegmentProvider from class org.apache.flink.runtime.io.network.partition.consumer.SingleInputGateFactory | From | To | |
| Extract Method | 2 | ||
| Extract Method private createRemoteInputChannel(inputGate SingleInputGate, memorySegmentProvider MemorySegmentProvider) : RemoteInputChannel extracted from private createRemoteInputChannel(inputGate SingleInputGate) : RemoteInputChannel in class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannelTest | From | To | |
| Extract Method private createRemoteInputChannel(inputGate SingleInputGate, partitionRequestClient PartitionRequestClient, initialBackoff int, maxBackoff int, memorySegmentProvider MemorySegmentProvider) : RemoteInputChannel extracted from private createRemoteInputChannel(inputGate SingleInputGate, partitionRequestClient PartitionRequestClient, initialBackoff int, maxBackoff int) : RemoteInputChannel in class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannelTest | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter client : PartitionRequestClient to partitionRequestClient : PartitionRequestClient in method private createRemoteInputChannel(inputGate SingleInputGate, partitionRequestClient PartitionRequestClient, initialBackoff int, maxBackoff int, memorySegmentProvider MemorySegmentProvider) : RemoteInputChannel in class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannelTest | From | To | |
| Rename Parameter client : PartitionRequestClient to memorySegmentProvider : MemorySegmentProvider in method private createRemoteInputChannel(inputGate SingleInputGate, memorySegmentProvider MemorySegmentProvider) : RemoteInputChannel in class org.apache.flink.runtime.io.network.partition.consumer.RemoteInputChannelTest | From | To |