9b0aace1e6c54f201784912c0b623707aa82b761
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getCacheFilePath(key ExtendedBlockId) : String renamed to public getCachePath(key ExtendedBlockId) : String in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemVolumeManager | From | To | |
Rename Method package get() : long renamed to package getUsedBytes() : long in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemVolumeManager.UsedBytesCount | From | To | |
Rename Variable | 1 | ||
Rename Variable volume : String to pmemDir : String in method package cleanup() : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemVolumeManager | From | To | |
Change Return Type | 1 | ||
Change Return Type void to File in method package verifyIfValidPmemVolume(pmemDir File) : File in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemVolumeManager | From | To | |
Move Attribute | 1 | ||
Move Attribute private pmemVolumeManager : PmemVolumeManager from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemMappedBlock to private pmemVolumeManager : PmemVolumeManager from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemVolumeManager | From | To | |
Extract Method | 1 | ||
Extract Method package cleanup() : void extracted from private loadVolumes(volumes String[]) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemVolumeManager | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public init(pmemVolumesConfig String[]) : void extracted from package initialize(cacheManager FsDatasetCache) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemMappableBlockLoader & moved to class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.PmemVolumeManager | From | To |