5cc4dd8b759f1bfd0ed76f88e065aee65ac6f857
Files Diff
- Added: 9
- Removed: 6
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 3 | ||
Pull Up Method public getStatsAsString() : String from class org.apache.pulsar.functions.instance.FunctionStatsManager to public getStatsAsString() : String from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Pull Up Method private getExceptionInfo(th Throwable, ts long) : InstanceCommunication.FunctionStatus.ExceptionInformation from class org.apache.pulsar.functions.instance.FunctionStatsManager to protected getExceptionInfo(th Throwable, ts long) : InstanceCommunication.FunctionStatus.ExceptionInformation from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Pull Up Method public close() : void from class org.apache.pulsar.functions.instance.FunctionStatsManager to public close() : void from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Move Source Folder | 1 | ||
Move Source Folder pulsar-io/data-genenator to pulsar-io/data-generator | From | To | |
Pull Up Attribute | 6 | ||
Pull Up Attribute public USER_METRIC_PREFIX : String from class org.apache.pulsar.functions.instance.FunctionStatsManager to public USER_METRIC_PREFIX : String from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Pull Up Attribute private scheduledFuture : ScheduledFuture<?> from class org.apache.pulsar.functions.instance.FunctionStatsManager to protected scheduledFuture : ScheduledFuture<?> from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Pull Up Attribute private collectorRegistry : CollectorRegistry from class org.apache.pulsar.functions.instance.FunctionStatsManager to protected collectorRegistry : CollectorRegistry from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Pull Up Attribute package metricsLabelNames : String[] from class org.apache.pulsar.functions.instance.FunctionStatsManager to public metricsLabelNames : String[] from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Pull Up Attribute private metricsLabels : String[] from class org.apache.pulsar.functions.instance.FunctionStatsManager to protected metricsLabels : String[] from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Pull Up Attribute package exceptionMetricsLabelNames : String[] from class org.apache.pulsar.functions.instance.FunctionStatsManager to protected exceptionMetricsLabelNames : String[] from class org.apache.pulsar.functions.instance.stats.ComponentStatsManager | From | To | |
Move Class | 2 | ||
Move Class org.apache.pulsar.functions.instance.FunctionStatsManager moved to org.apache.pulsar.functions.instance.stats.FunctionStatsManager | From | To | |
Move Class org.apache.pulsar.functions.worker.rest.api.ComponentImpl.ComponentType moved to org.apache.pulsar.functions.utils.Utils.ComponentType | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.pulsar.functions.instance.stats.ComponentStatsManager from classes [org.apache.pulsar.functions.instance.stats.FunctionStatsManager] | From | To | |
Rename Attribute | 4 | ||
Rename Attribute statTotalRecordsRecieved1min : Counter to statTotalRecordsReceived1min : Counter in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager | From | To | |
Rename Attribute _statTotalRecordsRecieved1min : Counter.Child to _statTotalRecordsReceived1min : Counter.Child in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager | From | To | |
Rename Attribute _statTotalRecordsRecieved : Counter.Child to _statTotalRecordsReceived : Counter.Child in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager | From | To | |
Rename Attribute statTotalRecordsRecieved : Counter to statTotalRecordsReceived : Counter in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type stats : FunctionStatsManager to stats : ComponentStatsManager in class org.apache.pulsar.functions.instance.JavaInstanceRunnable | From | To | |
Rename Parameter | 2 | ||
Rename Parameter userException : Exception to ex : Exception in method public incrSourceExceptions(ex Exception) : void in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager | From | To | |
Rename Parameter userException : Exception to ex : Exception in method public incrSinkExceptions(ex Exception) : void in class org.apache.pulsar.functions.instance.stats.FunctionStatsManager | From | To |