e0a530e7141f60912f49ccd09166ae74bb17cfa7
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private postCreateCoprocScanner(request CompactionRequestImpl, scanType ScanType, scanner InternalScanner, user User) : InternalScanner renamed to private postCompactScannerOpen(request CompactionRequestImpl, scanType ScanType, scanner InternalScanner, user User) : InternalScanner in class org.apache.hadoop.hbase.regionserver.compactions.Compactor | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type store : Optional<HStore> to store : HStore in method private StoreScanner(store HStore, scan Scan, scanInfo ScanInfo, numColumns int, readPt long, cacheBlocks boolean, scanType ScanType) in class org.apache.hadoop.hbase.regionserver.StoreScanner | From | To | |
Move Method | 2 | ||
Move Method public preCompact(c ObserverContext<RegionCoprocessorEnvironment>, store Store, scanner InternalScanner, scanType ScanType, tracker CompactionLifeCycleTracker, request CompactionRequest) : InternalScanner from class org.apache.hadoop.hbase.coprocessor.example.ZooKeeperScanPolicyObserver to public preCompact(c ObserverContext<RegionCoprocessorEnvironment>, store Store, scanner InternalScanner, scanType ScanType, tracker CompactionLifeCycleTracker, request CompactionRequest) : InternalScanner from class org.apache.hadoop.hbase.coprocessor.example.WriteHeavyIncrementObserver | From | To | |
Move Method public preFlush(c ObserverContext<RegionCoprocessorEnvironment>, store Store, scanner InternalScanner, tracker FlushLifeCycleTracker) : InternalScanner from class org.apache.hadoop.hbase.coprocessor.example.ZooKeeperScanPolicyObserver to public preFlush(c ObserverContext<RegionCoprocessorEnvironment>, store Store, scanner InternalScanner, tracker FlushLifeCycleTracker) : InternalScanner from class org.apache.hadoop.hbase.coprocessor.example.WriteHeavyIncrementObserver | From | To | |
Extract Variable | 1 | ||
Extract Variable scanInfo : ScanInfo in method protected createScanner(snapshotScanners List<KeyValueScanner>, smallestReadPoint long, tracker FlushLifeCycleTracker) : InternalScanner from class org.apache.hadoop.hbase.regionserver.StoreFlusher | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type store : Optional<HStore> to store : HStore in class org.apache.hadoop.hbase.regionserver.StoreScanner | From | To | |
Extract Method | 1 | ||
Extract Method private getCellsPerTimeoutCheck(conf Configuration) : long extracted from public ScanInfo(conf Configuration, family byte[], minVersions int, maxVersions int, ttl long, keepDeletedCells KeepDeletedCells, blockSize long, timeToPurgeDeletes long, comparator CellComparator, newVersionBehavior boolean) in class org.apache.hadoop.hbase.regionserver.ScanInfo | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method package customize(maxVersions int, ttl long) : ScanInfo extracted from public testCompactionEmptyHFile() : void in class org.apache.hadoop.hbase.regionserver.TestDefaultCompactSelection & moved to class org.apache.hadoop.hbase.regionserver.ScanInfo | From | To | |
Extract And Move Method package customize(maxVersions int, ttl long) : ScanInfo extracted from public testInterruptCompaction() : void in class org.apache.hadoop.hbase.regionserver.TestCompaction & moved to class org.apache.hadoop.hbase.regionserver.ScanInfo | From | To | |
Extract And Move Method package customize(maxVersions int, ttl long) : ScanInfo extracted from private majorCompaction() : void in class org.apache.hadoop.hbase.regionserver.TestMajorCompaction & moved to class org.apache.hadoop.hbase.regionserver.ScanInfo | From | To |