5346f3e2eb5104a7313cc806bfc063865a946160
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getNextDirInTier(tier StorageTier, blockSize long) : int renamed to private getNextDirViewInTierView(tierView StorageTierView, blockSize long) : int in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type metadata : BlockMetadataManager to view : BlockMetadataManagerView in method public RoundRobinAllocator(view BlockMetadataManagerView) in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Change Parameter Type tier : StorageTier to tierView : StorageTierView in method private getNextDirViewInTierView(tierView StorageTierView, blockSize long) : int in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Rename Variable | 6 | ||
Rename Variable dirIndex : int to dirViewIndex : int in method private getNextDirViewInTierView(tierView StorageTierView, blockSize long) : int in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Rename Variable tier : StorageTier to tierView : StorageTierView in method public RoundRobinAllocator(view BlockMetadataManagerView) in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Rename Variable dirIndex : int to dirViewIndex : int in method private allocateBlock(userId long, blockId long, blockSize long, location BlockStoreLocation) : TempBlockMeta in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Rename Variable tier : StorageTier to tierView : StorageTierView in method private allocateBlock(userId long, blockId long, blockSize long, location BlockStoreLocation) : TempBlockMeta in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute protected mAllocator : Allocator from class tachyon.worker.block.allocator.BaseAllocatorStrategyTest to protected mAllocator : Allocator from class tachyon.worker.block.allocator.BaseAllocatorTest | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute metaManager : BlockMetadataManager to mManagerView : BlockMetadataManagerView in method public shouldNotAllocateTest() : void in class tachyon.worker.block.allocator.AllocatorContractTest | From | To | |
Rename Attribute | 2 | ||
Rename Attribute mMetaManager : BlockMetadataManager to mManagerView : BlockMetadataManagerView in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Rename Attribute mTierDirs : Map<StorageTier,Integer> to mTierViewDirViews : Map<StorageTierView,Integer> in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Change Variable Type | 3 | ||
Change Variable Type tier : StorageTier to tierView : StorageTierView in method public RoundRobinAllocator(view BlockMetadataManagerView) in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Change Variable Type tier : StorageTier to tierView : StorageTierView in method private allocateBlock(userId long, blockId long, blockSize long, location BlockStoreLocation) : TempBlockMeta in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type mMetaManager : BlockMetadataManager to mManagerView : BlockMetadataManagerView in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Change Attribute Type mTierDirs : Map<StorageTier,Integer> to mTierViewDirViews : Map<StorageTierView,Integer> in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Rename Parameter | 2 | ||
Rename Parameter metadata : BlockMetadataManager to view : BlockMetadataManagerView in method public RoundRobinAllocator(view BlockMetadataManagerView) in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To | |
Rename Parameter tier : StorageTier to tierView : StorageTierView in method private getNextDirViewInTierView(tierView StorageTierView, blockSize long) : int in class tachyon.worker.block.allocator.RoundRobinAllocator | From | To |