abaeeace004caa73a585ba1120e21d162f4556fb
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getBuketSize() : long renamed to public getBucketSize() : long in class org.apache.hadoop.hbase.util.LossyCounting | From | To | |
Parameterize Variable | 4 | ||
Parameterize Variable tableRequestMeter : String to name : String in method private registerAndMarkMeterIfNotPresent(e ObserverContext<RegionCoprocessorEnvironment>, name String) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To | |
Parameterize Variable regionRequestMeter : String to name : String in method private registerAndMarkMeterIfNotPresent(e ObserverContext<RegionCoprocessorEnvironment>, name String) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To | |
Parameterize Variable opWithClientMeterName : String to name : String in method private registerAndMarkMeterIfNotPresent(e ObserverContext<RegionCoprocessorEnvironment>, name String) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To | |
Parameterize Variable opMeterName : String to name : String in method private registerAndMarkMeterIfNotPresent(e ObserverContext<RegionCoprocessorEnvironment>, name String) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To | |
Change Variable Type | 1 | ||
Change Variable Type metric : Metric to metric : Meter in method private markMeterIfPresent(requestMeter String) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To | |
Extract Method | 4 | ||
Extract Method private registerAndMarkMeterIfNotPresent(e ObserverContext<RegionCoprocessorEnvironment>, name String) : void extracted from private tableMetricRegisterAndMark(e ObserverContext<RegionCoprocessorEnvironment>, op Row) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To | |
Extract Method private registerAndMarkMeterIfNotPresent(e ObserverContext<RegionCoprocessorEnvironment>, name String) : void extracted from private regionMetricRegisterAndMark(e ObserverContext<RegionCoprocessorEnvironment>, op Row) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To | |
Extract Method private registerAndMarkMeterIfNotPresent(e ObserverContext<RegionCoprocessorEnvironment>, name String) : void extracted from private opMetricRegisterAndMark(e ObserverContext<RegionCoprocessorEnvironment>, op Row) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To | |
Extract Method private registerAndMarkMeterIfNotPresent(e ObserverContext<RegionCoprocessorEnvironment>, name String) : void extracted from private opWithClientMetricRegisterAndMark(e ObserverContext<RegionCoprocessorEnvironment>, op Object) : void in class org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.ExampleRegionObserverMeta | From | To |