d35417616505e370fefb4e05bdeb0aad791f754d
Files Diff
- Added: 9
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public isBackupAvailable() : boolean moved from class com.facebook.presto.raptor.storage.FileStorageService to class com.facebook.presto.raptor.storage.OrcStorageManager & inlined to public isBackupAvailable() : boolean | From | To | |
Move Method | 2 | ||
Move Method public getBackupFile(shardUuid UUID) : File from class com.facebook.presto.raptor.storage.FileStorageService to public getBackupFile(uuid UUID) : File from class com.facebook.presto.raptor.backup.FileBackupStore | From | To | |
Move Method public getBackupDirectory() : File from class com.facebook.presto.raptor.storage.StorageManagerConfig to public getBackupDirectory() : File from class com.facebook.presto.raptor.backup.FileBackupConfig | From | To | |
Rename Variable | 1 | ||
Rename Variable backupFile : File to tempFile : File in method public testShardRecovery() : void in class com.facebook.presto.raptor.storage.TestShardRecovery | From | To | |
Move Attribute | 1 | ||
Move Attribute private backupDirectory : File from class com.facebook.presto.raptor.storage.StorageManagerConfig to private backupDirectory : File from class com.facebook.presto.raptor.backup.FileBackupConfig | From | To | |
Extract Class | 1 | ||
Extract Class com.facebook.presto.raptor.backup.FileBackupConfig from class com.facebook.presto.raptor.storage.StorageManagerConfig | From | To | |
Extract Variable | 1 | ||
Extract Variable discoveryInterval : Duration in method public setup() : void from class com.facebook.presto.raptor.storage.TestOrcStorageManager | From | To | |
Extract Method | 4 | ||
Extract Method private createOrcStorageManager() : OrcStorageManager extracted from public testWriter() : void in class com.facebook.presto.raptor.storage.TestOrcStorageManager | From | To | |
Extract Method public createShardRecoveryManager(storageService StorageService, backupStore Optional<BackupStore>, shardManager ShardManager) : ShardRecoveryManager extracted from public setup() : void in class com.facebook.presto.raptor.storage.TestShardRecovery | From | To | |
Extract Method private createOrcStorageManager() : OrcStorageManager extracted from public testReader() : void in class com.facebook.presto.raptor.storage.TestOrcStorageManager | From | To | |
Extract Method private createOrcStorageManager() : OrcStorageManager extracted from private columnStats(columnTypes List<Type>, rows Object[]...) : List<ColumnStats> in class com.facebook.presto.raptor.storage.TestOrcStorageManager | From | To | |
Rename Parameter | 2 | ||
Rename Parameter storageManagerConfig : StorageManagerConfig to config : StorageManagerConfig in method public ShardRecoveryManager(storageService StorageService, backupStore Optional<BackupStore>, nodeManager NodeManager, shardManager ShardManager, config StorageManagerConfig) in class com.facebook.presto.raptor.storage.ShardRecoveryManager | From | To | |
Rename Parameter shardUuid : UUID to uuid : UUID in method public getBackupFile(uuid UUID) : File in class com.facebook.presto.raptor.backup.FileBackupStore | From | To |