f3bb9b9613beaefbee0a53be1fb66b94fde1ce19
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 56
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method package getCopyOfOnlineRegionsSortedBySize() : SortedMap<Long,HRegion> renamed to package getCopyOfOnlineRegionsSortedByOnHeapSize() : SortedMap<Long,HRegion> in class org.apache.hadoop.hbase.regionserver.HRegionServer | From | To | |
Rename Method public estimatedHeapSizeOf(cell Cell) : long renamed to public estimatedSizeOfCell(cell Cell) : long in class org.apache.hadoop.hbase.PrivateCellUtil | From | To | |
Rename Method protected getFlushSizeLowerBound(region HRegion) : long renamed to protected setFlushSizeLowerBounds(region HRegion) : void in class org.apache.hadoop.hbase.regionserver.FlushLargeStoresPolicy | From | To | |
Change Return Type | 1 | ||
Change Return Type long to void in method protected setFlushSizeLowerBounds(region HRegion) : void in class org.apache.hadoop.hbase.regionserver.FlushLargeStoresPolicy | From | To | |
Rename Attribute | 3 | ||
Rename Attribute globalMemstoreHeapSize : LongAdder to globalMemStoreHeapSize : LongAdder in class org.apache.hadoop.hbase.regionserver.RegionServerAccounting | From | To | |
Rename Attribute globalMemstoreDataSize : LongAdder to globalMemStoreDataSize : LongAdder in class org.apache.hadoop.hbase.regionserver.RegionServerAccounting | From | To | |
Rename Attribute dataSize : long to memStoreSize : MemStoreSize in class org.apache.hadoop.hbase.regionserver.MemStoreSnapshot | From | To | |
Extract Variable | 6 | ||
Extract Variable res : long in method protected heapSizeChange(cell Cell, succ boolean) : long from class org.apache.hadoop.hbase.regionserver.Segment | From | To | |
Extract Variable mult : long in method package setHTableSpecificConf() : void from class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
Extract Variable flushType : FlushType in method public reclaimMemStoreMemory() : void from class org.apache.hadoop.hbase.regionserver.MemStoreFlusher | From | To | |
Extract Variable indexOverhead : long in method protected CSLMImmutableSegment(segment Segment) from class org.apache.hadoop.hbase.regionserver.CSLMImmutableSegment | From | To | |
Extract Variable flushableDataSize : long in method protected internalFlushCacheAndCommit(wal WAL, status MonitoredTask, prepareResult PrepareFlushResult, storesToFlush Collection<HStore>) : FlushResultImpl from class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
Extract Variable indexOverhead : long in method protected CellArrayImmutableSegment(segment CSLMImmutableSegment, memstoreSizing MemStoreSizing, action MemStoreCompactionStrategy.Action) from class org.apache.hadoop.hbase.regionserver.CellArrayImmutableSegment | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type dataSize : long to memStoreSize : MemStoreSize in class org.apache.hadoop.hbase.regionserver.MemStoreSnapshot | From | To | |
Extract Method | 1 | ||
Extract Method private requestFlushIfNeeded() : void extracted from private doDelta(op Operation, mutation Mutation, nonceGroup long, nonce long, returnResults boolean) : Result in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getMemStoreSize() : MemStoreSize extracted from public testFlushingWhenLogRolling() : void in class org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush & moved to class org.apache.hadoop.hbase.regionserver.MemStoreSnapshot | From | To | |
Rename Parameter | 2 | ||
Rename Parameter memstoreDataSize : long to memStoreDataSize : long in method private checkNegativeMemStoreDataSize(memStoreDataSize long, delta long) : void in class org.apache.hadoop.hbase.regionserver.HRegion | From | To | |
Rename Parameter memstoreSize : MemStoreSize to memStoreSize : MemStoreSize in method public decrMemStoreSize(memStoreSize MemStoreSize) : void in class org.apache.hadoop.hbase.regionserver.HRegion | From | To |