d1147eeb7e1d5f41161c7cf5bc5ddb4744ca5b57
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getGlobalMemstoreSize() : long renamed to public getGlobalMemstoreDataSize() : long in class org.apache.hadoop.hbase.regionserver.TestHeapMemoryManager.RegionServerAccountingStub | From | To | |
Merge Attribute | 1 | ||
Merge Attribute [globalMemStoreLimit : long, globalMemStoreLimitLowMark : long] to server : HRegionServer in class org.apache.hadoop.hbase.regionserver.MemStoreFlusher | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public getMemoryLimit() : long from class org.apache.hadoop.hbase.regionserver.MemStoreFlusher to public getGlobalMemstoreLimit() : long from class org.apache.hadoop.hbase.regionserver.RegionServerAccounting | From | To | |
Change Return Type | 2 | ||
Change Return Type boolean to FlushType in method private isAboveHighWaterMark() : FlushType in class org.apache.hadoop.hbase.regionserver.MemStoreFlusher | From | To | |
Change Return Type boolean to FlushType in method private isAboveLowWaterMark() : FlushType in class org.apache.hadoop.hbase.regionserver.MemStoreFlusher | From | To | |
Move Attribute | 3 | ||
Move Attribute protected globalMemStoreLimitLowMark : long from class org.apache.hadoop.hbase.regionserver.MemStoreFlusher to private globalMemStoreLimitLowMark : long from class org.apache.hadoop.hbase.regionserver.RegionServerAccounting | From | To | |
Move Attribute protected globalMemStoreLimitLowMarkPercent : float from class org.apache.hadoop.hbase.regionserver.MemStoreFlusher to private globalMemStoreLimitLowMarkPercent : float from class org.apache.hadoop.hbase.regionserver.RegionServerAccounting | From | To | |
Move Attribute protected globalMemStoreLimit : long from class org.apache.hadoop.hbase.regionserver.MemStoreFlusher to private globalMemStoreLimit : long from class org.apache.hadoop.hbase.regionserver.RegionServerAccounting | From | To | |
Extract Variable | 4 | ||
Extract Variable flushType : FlushType in method public reclaimMemStoreMemory() : void from class org.apache.hadoop.hbase.regionserver.MemStoreFlusher | From | To | |
Extract Variable regionServerAccounting : RegionServerAccountingStub in method public testAutoTunerShouldBeOffWhenMaxMinRangesForMemstoreIsNotGiven() : void from class org.apache.hadoop.hbase.regionserver.TestHeapMemoryManager | From | To | |
Extract Variable regionServerAccounting : RegionServerAccountingStub in method public testAutoTunerShouldBeOffWhenMaxMinRangesForBlockCacheIsNotGiven() : void from class org.apache.hadoop.hbase.regionserver.TestHeapMemoryManager | From | To | |
Extract Variable regionServerAccounting : RegionServerAccountingStub in method public testWhenMemstoreAndBlockCacheMaxMinChecksFails() : void from class org.apache.hadoop.hbase.regionserver.TestHeapMemoryManager | From | To | |
Extract Method | 3 | ||
Extract Method private logMsg(string1 String, string2 String) : void extracted from public reclaimMemStoreMemory() : void in class org.apache.hadoop.hbase.regionserver.MemStoreFlusher | From | To | |
Extract Method public getOnheapGlobalMemstoreSize(conf Configuration) : long extracted from public getGlobalMemstoreSize(conf Configuration) : Pair<Long,MemoryType> in class org.apache.hadoop.hbase.io.util.MemorySizeUtil | From | To | |
Extract Method public getGlobalMemstoreDataSize() : long extracted from public getGlobalMemstoreSize() : long in class org.apache.hadoop.hbase.regionserver.RegionServerAccounting | From | To |