e0dede9fb0a2ef7560254b6fc40d852ebf16c956
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Extract Attribute | 1 | ||
| Extract Attribute private ENCODING : Charset in class org.apache.flink.runtime.highavailability.ZookeeperRegistry | From | To | |
| Parameterize Variable | 3 | ||
| Parameterize Variable filePath : Path to path : Path in method private createFile(path Path, overwrite boolean) : void in class org.apache.flink.runtime.highavailability.FsNegativeRunningJobsRegistry | From | To | |
| Parameterize Variable testFile : Path to path : Path in method private createFile(path Path, overwrite boolean) : void in class org.apache.flink.runtime.highavailability.FsNegativeRunningJobsRegistry | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute running : HashSet<JobID> to jobStatus : HashMap<JobID,JobSchedulingStatus> in class org.apache.flink.runtime.highavailability.nonha.NonHaRegistry | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type running : HashSet<JobID> to jobStatus : HashMap<JobID,JobSchedulingStatus> in class org.apache.flink.runtime.highavailability.nonha.NonHaRegistry | From | To | |
| Extract Method | 8 | ||
| Extract Method private createFile(path Path, overwrite boolean) : void extracted from public setJobRunning(jobID JobID) : void in class org.apache.flink.runtime.highavailability.FsNegativeRunningJobsRegistry | From | To | |
| Extract Method private writeEnumToZooKeeper(jobID JobID, status JobSchedulingStatus) : void extracted from public setJobRunning(jobID JobID) : void in class org.apache.flink.runtime.highavailability.ZookeeperRegistry | From | To | |
| Extract Method private createZkPath(jobID JobID) : String extracted from public setJobFinished(jobID JobID) : void in class org.apache.flink.runtime.highavailability.ZookeeperRegistry | From | To | |
| Extract Method private createFile(path Path, overwrite boolean) : void extracted from public setJobFinished(jobID JobID) : void in class org.apache.flink.runtime.highavailability.FsNegativeRunningJobsRegistry | From | To | |
| Extract Method private createZkPath(jobID JobID) : String extracted from public clearJob(jobID JobID) : void in class org.apache.flink.runtime.highavailability.ZookeeperRegistry | From | To | |
| Extract Method private createFile(path Path, overwrite boolean) : void extracted from public FsNegativeRunningJobsRegistry(fileSystem FileSystem, workingDirectory Path) in class org.apache.flink.runtime.highavailability.FsNegativeRunningJobsRegistry | From | To | |
| Extract Method private createZkPath(jobID JobID) : String extracted from public setJobRunning(jobID JobID) : void in class org.apache.flink.runtime.highavailability.ZookeeperRegistry | From | To | |
| Extract Method private writeEnumToZooKeeper(jobID JobID, status JobSchedulingStatus) : void extracted from public setJobFinished(jobID JobID) : void in class org.apache.flink.runtime.highavailability.ZookeeperRegistry | From | To |