13ebb36bb6c7fbe591d9e7834a2fc34d8469bc00
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public testCheckpointWithoutNotify() : void renamed to public testBucketStateTransitions() : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSinkTest | From | To | |
Rename Method public restoreState(state State<T>) : void renamed to private handleRestoredBucketState(restoredState State<T>) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Rename Variable | 2 | ||
Rename Variable numPending : int to inProg : int in method private checkFs(outDir File, inprogress int, pending int, completed int, valid int) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSinkTest | From | To | |
Rename Variable dataDir : File to outDir : File in method public testBucketStateTransitions() : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSinkTest | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private PART_PREFIX : String in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSinkTest | From | To | |
Parameterize Variable | 7 | ||
Parameterize Variable finalPath : Path to path : Path in method private getPendingPathFor(path Path) : Path in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Parameterize Variable partPath : Path to path : Path in method private getInProgressPathFor(path Path) : Path in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Parameterize Variable currentPartPath : Path to path : Path in method private getPendingPathFor(path Path) : Path in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Parameterize Variable partPath : Path to path : Path in method private getPendingPathFor(path Path) : Path in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Parameterize Variable currentPartPath : Path to path : Path in method private getInProgressPathFor(path Path) : Path in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Parameterize Variable partPath : Path to path : Path in method private getValidLengthPathFor(path Path) : Path in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Parameterize Variable dataDir : File to outDir : File in method private checkFs(outDir File, inprogress int, pending int, completed int, valid int) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSinkTest | From | To | |
Extract Variable | 1 | ||
Extract Variable path : String in method private checkFs(outDir File, inprogress int, pending int, completed int, valid int) : void from class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSinkTest | From | To | |
Extract Method | 8 | ||
Extract Method private checkFs(outDir File, inprogress int, pending int, completed int, valid int) : void extracted from public testCheckpointWithoutNotify() : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSinkTest | From | To | |
Extract Method private getPendingPathFor(path Path) : Path extracted from private closeCurrentPartFile(bucketState BucketState<T>) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Extract Method private getPendingPathFor(path Path) : Path extracted from private openNewPartFile(bucketPath Path, bucketState BucketState<T>) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Extract Method private getPendingPathFor(path Path) : Path extracted from public notifyCheckpointComplete(checkpointId long) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Extract Method private getInProgressPathFor(path Path) : Path extracted from private closeCurrentPartFile(bucketState BucketState<T>) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Extract Method private getInProgressPathFor(path Path) : Path extracted from public restoreState(state State<T>) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Extract Method private getValidLengthPathFor(path Path) : Path extracted from public restoreState(state State<T>) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Extract Method private getPendingPathFor(path Path) : Path extracted from public restoreState(state State<T>) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To | |
Rename Parameter | 1 | ||
Rename Parameter state : State<T> to restoredState : State<T> in method private handleRestoredBucketState(restoredState State<T>) : void in class org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink | From | To |