a8e85a2d5abcaf2defab27be0027190ac3ecb5d5
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private deserializeMetricInfo(dis DataInputStream) : QueryScopeInfo renamed to private deserializeMeter(dis DataInputView) : MetricDump.MeterDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Rename Method private deserializeMeter(dis DataInputStream) : MetricDump.MeterDump renamed to private deserializeGauge(dis DataInputView) : MetricDump.GaugeDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Parameter Type | 6 | ||
Change Parameter Type dos : DataOutputStream to out : DataOutput in method private serializeMetricInfo(out DataOutput, info QueryScopeInfo) : void in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Parameter Type dis : DataInputStream to dis : DataInputView in method private deserializeMeter(dis DataInputView) : MetricDump.MeterDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Parameter Type dis : DataInputStream to dis : DataInputView in method private deserializeCounter(dis DataInputView) : MetricDump.CounterDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Parameter Type dos : DataOutputStream to out : DataOutput in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Parameter Type dis : DataInputStream to dis : DataInputView in method private deserializeGauge(dis DataInputView) : MetricDump.GaugeDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Parameter Type dis : DataInputStream to dis : DataInputView in method private deserializeHistogram(dis DataInputView) : MetricDump.HistogramDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Rename Variable | 3 | ||
Rename Variable scope : String to rate : double in method private deserializeMeter(dis DataInputView) : MetricDump.MeterDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Rename Variable info : QueryScopeInfo to scope : QueryScopeInfo in method private deserializeGauge(dis DataInputView) : MetricDump.GaugeDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Rename Variable rate : double to value : String in method private deserializeGauge(dis DataInputView) : MetricDump.GaugeDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Return Type | 4 | ||
Change Return Type byte[] to MetricSerializationResult in method public serialize(counters Map<Counter,Tuple2<QueryScopeInfo,String>>, gauges Map<Gauge<?>,Tuple2<QueryScopeInfo,String>>, histograms Map<Histogram,Tuple2<QueryScopeInfo,String>>, meters Map<Meter,Tuple2<QueryScopeInfo,String>>) : MetricSerializationResult in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization.MetricDumpSerializer | From | To | |
Change Return Type byte[] to MetricDumpSerialization.MetricSerializationResult in method private createRequestDumpAnswer(tmID InstanceID, jobID JobID) : MetricDumpSerialization.MetricSerializationResult in class org.apache.flink.runtime.webmonitor.metrics.MetricFetcherTest | From | To | |
Change Return Type MetricDump.MeterDump to MetricDump.GaugeDump in method private deserializeGauge(dis DataInputView) : MetricDump.GaugeDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Return Type QueryScopeInfo to MetricDump.MeterDump in method private deserializeMeter(dis DataInputView) : MetricDump.MeterDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Rename Attribute | 1 | ||
Rename Attribute dos : DataOutputStream to buffer : DataOutputSerializer in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization.MetricDumpSerializer | From | To | |
Split Variable | 1 | ||
Split Variable jobID : String to [info : QueryScopeInfo, name : String] in method private deserializeMeter(dis DataInputView) : MetricDump.MeterDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable | 12 | ||
Extract Variable count : long in method private deserializeCounter(dis DataInputView) : MetricDump.CounterDump from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable p90 : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable max : long in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable mean : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable min : long in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable p98 : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable stddev : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable p95 : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable p999 : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable p75 : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable median : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Extract Variable p99 : double in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void from class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Variable Type | 6 | ||
Change Variable Type scope : String to rate : double in method private deserializeMeter(dis DataInputView) : MetricDump.MeterDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Variable Type serialized : byte[] to serialized : MetricDumpSerialization.MetricSerializationResult in method public testSerialization() : void in class org.apache.flink.runtime.metrics.dump.MetricDumpSerializerTest | From | To | |
Change Variable Type rate : double to value : String in method private deserializeGauge(dis DataInputView) : MetricDump.GaugeDump in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Change Variable Type data : byte[] to data : MetricDumpSerialization.MetricSerializationResult in method private addMetrics(result Object) : void in class org.apache.flink.runtime.webmonitor.metrics.MetricFetcher | From | To | |
Change Variable Type dump : byte[] to dump : MetricDumpSerialization.MetricSerializationResult in method public onReceive(message Object) : void in class org.apache.flink.runtime.metrics.dump.MetricQueryService | From | To | |
Change Variable Type dump : byte[] to dump : MetricDumpSerialization.MetricSerializationResult in method private createRequestDumpAnswer(tmID InstanceID, jobID JobID) : MetricDumpSerialization.MetricSerializationResult in class org.apache.flink.runtime.webmonitor.metrics.MetricFetcherTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type dos : DataOutputStream to buffer : DataOutputSerializer in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization.MetricDumpSerializer | From | To | |
Extract Method | 1 | ||
Extract Method private deserializeMetricInfo(dis DataInput) : QueryScopeInfo extracted from private deserializeMetricInfo(dis DataInputStream) : QueryScopeInfo in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Rename Parameter | 2 | ||
Rename Parameter dos : DataOutputStream to out : DataOutput in method private serializeHistogram(out DataOutput, info QueryScopeInfo, name String, histogram Histogram) : void in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To | |
Rename Parameter dos : DataOutputStream to out : DataOutput in method private serializeMetricInfo(out DataOutput, info QueryScopeInfo) : void in class org.apache.flink.runtime.metrics.dump.MetricDumpSerialization | From | To |