0a79dd5fb165c714bdac8de770b45d9406177401
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private releaseBlocks() : void renamed to private processEndOfPartition(channel int) : void in class org.apache.flink.streaming.runtime.io.BarrierBuffer | From | To | |
Rename Variable | 1 | ||
Rename Variable handler : ValidatingCheckpointHandler to toNotify : StatefulTask in method public testMultiChannelSkippingCheckpoints() : void in class org.apache.flink.streaming.runtime.io.BarrierBufferTest | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable barrierId : long to checkpointId : long in method private beginNewAlignment(checkpointId long, channelIndex int) : void in class org.apache.flink.streaming.runtime.io.BarrierBuffer | From | To | |
Extract Variable | 3 | ||
Extract Variable size : int in method private createBuffer(channel int) : BufferOrEvent from class org.apache.flink.streaming.runtime.io.BarrierBufferTest | From | To | |
Extract Variable expectedId : long in method public triggerCheckpointOnBarrier(checkpointMetaData CheckpointMetaData) : void from class org.apache.flink.streaming.runtime.io.BarrierTrackerTest.CheckpointSequenceValidator | From | To | |
Extract Variable memory : MemorySegment in method private createBuffer(channel int) : BufferOrEvent from class org.apache.flink.streaming.runtime.io.BarrierBufferTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type handler : ValidatingCheckpointHandler to toNotify : StatefulTask in method public testMultiChannelSkippingCheckpoints() : void in class org.apache.flink.streaming.runtime.io.BarrierBufferTest | From | To | |
Inline Variable | 1 | ||
Inline Variable now : long in method private releaseBlocks() : void from class org.apache.flink.streaming.runtime.io.BarrierBuffer | From | To | |
Extract Method | 5 | ||
Extract Method private notifyCheckpoint(checkpointId long, timestamp long) : void extracted from private processBarrier(receivedBarrier CheckpointBarrier) : void in class org.apache.flink.streaming.runtime.io.BarrierTracker | From | To | |
Extract Method private releaseBlocksAndResetBarriers() : void extracted from private releaseBlocks() : void in class org.apache.flink.streaming.runtime.io.BarrierBuffer | From | To | |
Extract Method private beginNewAlignment(checkpointId long, channelIndex int) : void extracted from private processBarrier(receivedBarrier CheckpointBarrier, channelIndex int) : void in class org.apache.flink.streaming.runtime.io.BarrierBuffer | From | To | |
Extract Method private notifyCheckpoint(checkpointBarrier CheckpointBarrier) : void extracted from private processBarrier(receivedBarrier CheckpointBarrier, channelIndex int) : void in class org.apache.flink.streaming.runtime.io.BarrierBuffer | From | To | |
Rename Parameter | 3 | ||
Rename Parameter barrier : AbstractEvent to event : AbstractEvent in method public broadcastEvent(event AbstractEvent) : void in class org.apache.flink.streaming.runtime.io.RecordWriterOutput | From | To | |
Rename Parameter id : long to checkpointId : long in method private createBarrier(checkpointId long, channel int) : BufferOrEvent in class org.apache.flink.streaming.runtime.io.BarrierBufferTest | From | To | |
Rename Parameter receivedBarrier : CheckpointBarrier to checkpointBarrier : CheckpointBarrier in method private notifyCheckpoint(checkpointBarrier CheckpointBarrier) : void in class org.apache.flink.streaming.runtime.io.BarrierBuffer | From | To |