3b1d30301bcd35bbe525a7e122d3e5acfab92c88
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 1 | ||
Extract Variable space : long in method public testProvidedVolumeImpl() : void from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestProvidedImpl | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public updateHeartbeat(node DatanodeDescriptor, reports StorageReport[], cacheCapacity long, cacheUsed long, xceiverCount int, failedVolumes int, volumeFailureSummary VolumeFailureSummary) : void extracted from package updateHeartbeat(node DatanodeDescriptor, reports StorageReport[], cacheCapacity long, cacheUsed long, xceiverCount int, failedVolumes int, volumeFailureSummary VolumeFailureSummary) : void in class org.apache.hadoop.hdfs.server.blockmanagement.HeartbeatManager & moved to class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Extract And Move Method package getDfsUsed() : long extracted from public getDfsUsed() : long in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.ProvidedVolumeImpl & moved to class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.ProvidedVolumeImpl.ProvidedBlockPoolSlice | From | To | |
Extract And Move Method package getDfsUsed() : long extracted from public getAvailable() : long in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.ProvidedVolumeImpl & moved to class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.ProvidedVolumeImpl.ProvidedBlockPoolSlice | From | To | |
Extract And Move Method package getDfsUsed() : long extracted from public getCapacity() : long in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.ProvidedVolumeImpl & moved to class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.ProvidedVolumeImpl.ProvidedBlockPoolSlice | From | To |