32250e55ba7deff5a1b50f9b861a5077c6677956
Files Diff
- Added: 6
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 5 | ||
Extract Method protected shouldIncludeStore(fileSystem HRegionFileSystem, family String, storeFiles Collection<StoreFileInfo>, ts long) : boolean extracted from package getStoresRequiringCompaction(requestedStores Set<String>) : Set<String> in class org.apache.hadoop.hbase.util.compaction.MajorCompactionRequest | From | To | |
Extract Method package shouldCFBeCompacted(fileSystem HRegionFileSystem, family String, ts long) : boolean extracted from package getStoresRequiringCompaction(requestedStores Set<String>) : Set<String> in class org.apache.hadoop.hbase.util.compaction.MajorCompactionRequest | From | To | |
Extract Method private compactRegionOnServer(request MajorCompactionRequest, admin Admin, store String) : void extracted from package compactAndWait(request MajorCompactionRequest) : void in class org.apache.hadoop.hbase.util.compaction.MajorCompactor.Compact | From | To | |
Extract Method private getServerRegionsMap() : Map<ServerName,List<RegionInfo>> extracted from package initializeWorkQueues() : void in class org.apache.hadoop.hbase.util.compaction.MajorCompactor | From | To | |
Extract Method protected getMajorCompactionRequest(hri RegionInfo) : Optional<MajorCompactionRequest> extracted from package initializeWorkQueues() : void in class org.apache.hadoop.hbase.util.compaction.MajorCompactor | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method protected getStoresRequiringCompaction(request MajorCompactionRequest) : Set<String> extracted from package compactAndWait(request MajorCompactionRequest) : void in class org.apache.hadoop.hbase.util.compaction.MajorCompactor.Compact & moved to class org.apache.hadoop.hbase.util.compaction.MajorCompactor | From | To |