c64a1d199402d6bf2d6ff4168c00c756dcaa59e4
Files Diff
- Added: 45
- Removed: 2
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public reset() : FastLongHistogram renamed to public snapshotAndReset() : Snapshot in class org.apache.hadoop.hbase.metrics.impl.FastLongHistogram | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type histogram : FastLongHistogram to snapshot : Snapshot in method public updateSnapshotRangeMetrics(metricsRecordBuilder MetricsRecordBuilder, snapshot Snapshot) : void in class org.apache.hadoop.metrics2.lib.MutableRangeHistogram | From | To | |
Rename Variable | 1 | ||
Rename Variable histo : FastLongHistogram to snapshot : Snapshot in method public snapshot(metricsRecordBuilder MetricsRecordBuilder, all boolean) : void in class org.apache.hadoop.metrics2.lib.MutableRangeHistogram | From | To | |
Change Return Type | 1 | ||
Change Return Type FastLongHistogram to Snapshot in method public snapshotAndReset() : Snapshot in class org.apache.hadoop.hbase.metrics.impl.FastLongHistogram | From | To | |
Move Class | 2 | ||
Move Class org.apache.hadoop.hbase.util.FastLongHistogram moved to org.apache.hadoop.hbase.metrics.impl.FastLongHistogram | From | To | |
Move Class org.apache.hadoop.hbase.util.TestFastLongHistogram moved to org.apache.hadoop.hbase.metrics.impl.TestFastLongHistogram | From | To | |
Change Variable Type | 1 | ||
Change Variable Type histo : FastLongHistogram to snapshot : Snapshot in method public snapshot(metricsRecordBuilder MetricsRecordBuilder, all boolean) : void in class org.apache.hadoop.metrics2.lib.MutableRangeHistogram | From | To | |
Extract Method | 1 | ||
Extract Method public snapshot(name String, desc String, histogram Histogram, metricsRecordBuilder MetricsRecordBuilder, all boolean) : void extracted from public snapshot(metricsRecordBuilder MetricsRecordBuilder, all boolean) : void in class org.apache.hadoop.metrics2.lib.MutableHistogram | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type histogram : FastLongHistogram to histogram : HistogramImpl in class org.apache.hadoop.metrics2.lib.MutableHistogram | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getMean() : long extracted from public getMean() : long in class org.apache.hadoop.hbase.util.FastLongHistogram & moved to class org.apache.hadoop.hbase.metrics.impl.FastLongHistogram.Bins | From | To | |
Extract And Move Method public getMin() : long extracted from public getMin() : long in class org.apache.hadoop.hbase.util.FastLongHistogram & moved to class org.apache.hadoop.hbase.metrics.impl.FastLongHistogram.Bins | From | To | |
Rename Parameter | 1 | ||
Rename Parameter histogram : FastLongHistogram to snapshot : Snapshot in method public updateSnapshotRangeMetrics(metricsRecordBuilder MetricsRecordBuilder, snapshot Snapshot) : void in class org.apache.hadoop.metrics2.lib.MutableRangeHistogram | From | To |