908bbde8dae3587f5edda655b8cd210b2450d5c0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private validateUserTempBlock(userId long, blockId long) : TempBlockMeta renamed to private checkTempBlockExists(userId long, blockId long) : TempBlockMeta in class tachyon.worker.block.TieredBlockStore | From | To | |
Rename Variable | 2 | ||
Rename Variable oldLocation : BlockStoreLocation to dstLocation : BlockStoreLocation in method private moveBlockInternal(userId long, blockId long, newLocation BlockStoreLocation) : Pair<BlockStoreLocation,BlockStoreLocation> in class tachyon.worker.block.TieredBlockStore | From | To | |
Rename Variable actualNewLocation : BlockStoreLocation to srcLocation : BlockStoreLocation in method private moveBlockInternal(userId long, blockId long, newLocation BlockStoreLocation) : Pair<BlockStoreLocation,BlockStoreLocation> in class tachyon.worker.block.TieredBlockStore | From | To | |
Inline Method | 1 | ||
Inline Method private createBlockMetaNoLock(userId long, blockId long, location BlockStoreLocation, initialBlockSize long) : TempBlockMeta inlined to public createBlockMeta(userId long, blockId long, location BlockStoreLocation, initialBlockSize long) : TempBlockMeta in class tachyon.worker.block.TieredBlockStore | From | To | |
Extract Method | 6 | ||
Extract Method private removeBlockInternal(userId long, blockId long) : void extracted from public removeBlock(userId long, blockId long) : void in class tachyon.worker.block.TieredBlockStore | From | To | |
Extract Method private requestSpaceInternal(blockId long, additionalBytes long) : BlockStoreLocation extracted from public requestSpace(userId long, blockId long, additionalBytes long) : void in class tachyon.worker.block.TieredBlockStore | From | To | |
Extract Method private moveBlockInternal(userId long, blockId long, newLocation BlockStoreLocation) : Pair<BlockStoreLocation,BlockStoreLocation> extracted from public moveBlock(userId long, blockId long, newLocation BlockStoreLocation) : void in class tachyon.worker.block.TieredBlockStore | From | To | |
Extract Method private createBlockMetaInternal(userId long, blockId long, location BlockStoreLocation, initialBlockSize long) : TempBlockMeta extracted from public createBlockMeta(userId long, blockId long, location BlockStoreLocation, initialBlockSize long) : TempBlockMeta in class tachyon.worker.block.TieredBlockStore | From | To | |
Extract Method private removeBlockInternal(userId long, blockId long) : void extracted from private freeSpaceInternal(userId long, availableBytes long, location BlockStoreLocation) : void in class tachyon.worker.block.TieredBlockStore | From | To | |
Extract Method private abortBlockInternal(userId long, blockId long) : void extracted from public abortBlock(userId long, blockId long) : void in class tachyon.worker.block.TieredBlockStore | From | To |