7797d09767a862f8294f95b4e66c4657abc2898a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public getStorageDirByBlockId(blockId long) : StorageDir renamed to public getBlockMeta(blockId long) : Optional<BlockMeta> in class tachyon.worker.block.meta.StorageTier | From | To | |
| Rename Method public getUsedBytes() : long renamed to public getAvailableBytes() : long in class tachyon.worker.block.meta.StorageTier | From | To | |
| Rename Method public getLevel() : int renamed to public getTierAlias() : int in class tachyon.worker.block.meta.StorageTier | From | To | |
| Rename Variable | 1 | ||
| Rename Variable used : long to availableBytes : long in method public getAvailableBytes() : long in class tachyon.worker.block.meta.StorageTier | From | To | |
| Change Return Type | 2 | ||
| Change Return Type StorageDir to Optional<BlockMeta> in method public getBlockMeta(blockId long) : Optional<BlockMeta> in class tachyon.worker.block.meta.StorageTier | From | To | |
| Change Return Type StorageDir[] to Set<StorageDir> in method public getStorageDirs() : Set<StorageDir> in class tachyon.worker.block.meta.StorageTier | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute mDirs : StorageDir[] to mStorageDirs : Set<StorageDir> in class tachyon.worker.block.meta.StorageTier | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type mDirs : StorageDir[] to mStorageDirs : Set<StorageDir> in class tachyon.worker.block.meta.StorageTier | From | To |