f3f51284d57ef2e0c7e968b6eea56eab578f7e93
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 2 | ||
| Rename Variable TEST_FILE : String to testFile : String in method public testRevocation() : void in class org.apache.hadoop.hdfs.server.datanode.TestFsDatasetCacheRevocation | From | To | |
| Rename Variable TEST_FILE : String to testFile : String in method public testPinning() : void in class org.apache.hadoop.hdfs.server.datanode.TestFsDatasetCacheRevocation | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private maxBytes : long from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache to private maxBytes : long from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryCacheStats | From | To | |
| Move Attribute private usedBytesCount : UsedBytesCount from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache to private usedBytesCount : UsedBytesCount from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryCacheStats | From | To | |
| Extract Class | 1 | ||
| Extract Class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryCacheStats from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache | From | To | |
| Move Class | 3 | ||
| Move Class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache.UsedBytesCount moved to org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryCacheStats.UsedBytesCount | From | To | |
| Move Class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache.PageRounder moved to org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryCacheStats.PageRounder | From | To | |
| Move Class org.apache.hadoop.hdfs.server.datanode.TestFsDatasetCache moved to org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsDatasetCache | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute usedBytesCount : UsedBytesCount to memCacheStats : MemoryCacheStats in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type usedBytesCount : UsedBytesCount to memCacheStats : MemoryCacheStats in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache | From | To |