32c21f45942f9f45e34b28df47180fe6498fc337
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 7 | ||
Rename Method public stopCompact() : void renamed to public stop() : void in class org.apache.hadoop.hbase.regionserver.MemStoreCompactor | From | To | |
Rename Method protected resetCellSet() : void renamed to protected resetActive() : void in class org.apache.hadoop.hbase.regionserver.AbstractMemStore | From | To | |
Rename Method public startCompaction() : boolean renamed to public start() : boolean in class org.apache.hadoop.hbase.regionserver.MemStoreCompactor | From | To | |
Rename Method public getSegmentScanner(readPoint long) : SegmentScanner renamed to public getScanner(readPoint long) : SegmentScanner in class org.apache.hadoop.hbase.regionserver.Segment | From | To | |
Rename Method public getCompactibleSegments() : VersionedSegmentsList renamed to public getImmutableSegments() : VersionedSegmentsList in class org.apache.hadoop.hbase.regionserver.CompactingMemStore | From | To | |
Rename Method public getSegmentScanner(readPoint long, order long) : SegmentScanner renamed to public getScanner(readPoint long, order long) : SegmentScanner in class org.apache.hadoop.hbase.regionserver.Segment | From | To | |
Rename Method public hasCompactibleSegments() : boolean renamed to public hasImmutableSegments() : boolean in class org.apache.hadoop.hbase.regionserver.CompactingMemStore | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type m : ConcurrentNavigableMap<Cell,Cell> to m : NavigableMap<Cell,Cell> in method package CellSet(m NavigableMap<Cell,Cell>) in class org.apache.hadoop.hbase.regionserver.CellSet | From | To | |
Move Method | 1 | ||
Move Method private createScanner(store Store) : StoreScanner from class org.apache.hadoop.hbase.regionserver.MemStoreCompactor to private createScanner(store Store, scanner KeyValueScanner) : StoreScanner from class org.apache.hadoop.hbase.regionserver.MemStoreCompactorIterator | From | To | |
Change Return Type | 1 | ||
Change Return Type void to long in method protected updateMetaInfo(cellToAdd Cell, succ boolean, mslabUsed boolean) : long in class org.apache.hadoop.hbase.regionserver.Segment | From | To | |
Move Attribute | 1 | ||
Move Attribute private compactingScanner : StoreScanner from class org.apache.hadoop.hbase.regionserver.MemStoreCompactor to private compactingScanner : StoreScanner from class org.apache.hadoop.hbase.regionserver.MemStoreCompactorIterator | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.hadoop.hbase.regionserver.MemStoreCompactorIterator from class org.apache.hadoop.hbase.regionserver.MemStoreCompactor | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [ms : AbstractMemStore, readPt : long] to comparator : CellComparator in method public MemStoreScanner(comparator CellComparator, scanners List<KeyValueScanner>) in class org.apache.hadoop.hbase.regionserver.MemStoreScanner | From | To | |
Rename Attribute | 3 | ||
Rename Attribute smallestReadPoint : long to type : Type in class org.apache.hadoop.hbase.regionserver.MemStoreCompactor | From | To | |
Rename Attribute CELL_SKIPLIST_SET : int to CELL_SET : int in class org.apache.hadoop.hbase.util.ClassSize | From | To | |
Rename Attribute DEEP_OVERHEAD_PER_PIPELINE_ITEM : long to DEEP_OVERHEAD_PER_PIPELINE_SKIPLIST_ITEM : long in class org.apache.hadoop.hbase.regionserver.CompactingMemStore | From | To | |
Extract Method | 1 | ||
Extract Method protected compactingSetUp() : void extracted from public setUp() : void in class org.apache.hadoop.hbase.regionserver.TestCompactingMemStore | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type cellSet : CellSet to cellSet : AtomicReference<CellSet> in class org.apache.hadoop.hbase.regionserver.Segment | From | To | |
Change Attribute Type smallestReadPoint : long to type : Type in class org.apache.hadoop.hbase.regionserver.MemStoreCompactor | From | To | |
Change Attribute Type delegatee : ConcurrentNavigableMap<Cell,Cell> to delegatee : NavigableMap<Cell,Cell> in class org.apache.hadoop.hbase.regionserver.CellSet | From | To | |
Rename Parameter | 1 | ||
Rename Parameter toAdd : Cell to cellToAdd : Cell in method protected updateMetaInfo(cellToAdd Cell, succ boolean, mslabUsed boolean) : long in class org.apache.hadoop.hbase.regionserver.Segment | From | To |