10bac61ff6f2c437d2fa79ac7464322fb312754d
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public toEvict() : List<Long> renamed to public candidateBlocks() : List<Long> in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Rename Method public maxAvailableBytes() : long renamed to public candidateSize() : long in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type dir : BlockStoreLocation to dir : StorageDir in method public add(dir StorageDir, blockId long, blockSizeBytes long) : void in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable dirId : long to dir : StorageDir in method public add(dir StorageDir, blockId long, blockSizeBytes long) : void in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute mMaxAvailableBytes : long to mMaxBytes : long in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Rename Attribute mKeyOfMaxAvailableBytes : Long to mDirWithMaxBytes : StorageDir in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type dirId : long to dir : StorageDir in method public add(dir StorageDir, blockId long, blockSizeBytes long) : void in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type mDirCandidates : Map<Long,Pair<List<Long>,Long>> to mDirCandidates : Map<StorageDir,Pair<List<Long>,Long>> in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Change Attribute Type mKeyOfMaxAvailableBytes : Long to mDirWithMaxBytes : StorageDir in class tachyon.worker.block.evictor.EvictionDirCandidates | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter availableBytes : long to bytesToBeAvailable : long in method public freeSpace(bytesToBeAvailable long, location BlockStoreLocation) : EvictionPlan in class tachyon.worker.block.evictor.LRUEvictor | From | To |