35ff31dd9462cf4fb4ebf5556ee8ae6bcd7c5c3a
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package MemoryMappableBlockLoader(cacheManager FsDatasetCache) renamed to package initialize(cacheManager FsDatasetCache) : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryMappableBlockLoader | From | To | |
Move Attribute | 1 | ||
Move Attribute private cacheManager : FsDatasetCache from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryMappableBlockLoader to private cacheManager : FsDatasetCache from class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestCacheByPmemMappableBlockLoader | From | To | |
Rename Attribute | 2 | ||
Rename Attribute cacheManager : FsDatasetCache to memCacheStats : MemoryCacheStats in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryMappableBlockLoader | From | To | |
Rename Attribute mappableBlockLoader : MappableBlockLoader to cacheLoader : MappableBlockLoader in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type cacheManager : FsDatasetCache to memCacheStats : MemoryCacheStats in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryMappableBlockLoader | From | To | |
Extract Method | 1 | ||
Extract Method private getBlockInputStreamWithCheckingPmemCache(info ReplicaInfo, b ExtendedBlock, seekOffset long) : InputStream extracted from public getBlockInputStream(b ExtendedBlock, seekOffset long) : InputStream in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetImpl | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getCacheCapacity() : long extracted from public run() : void in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetCache.CachingTask & moved to class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MemoryMappableBlockLoader | From | To |