bacaba18bd17d54ff6b24fb5e59c6ab0a6ce62f1
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 1 | ||
Push Down Method public stop() : void from class org.apache.phoenix.trace.TraceWriter to public stop() : void from class org.apache.phoenix.trace.BaseTracingTestIT.TestTraceWriter | From | To | |
Pull Up Method | 1 | ||
Pull Up Method public cleanUp() : void from class org.apache.phoenix.trace.PhoenixTracingEndToEndIT to public cleanUp() : void from class org.apache.phoenix.trace.BaseTracingTestIT | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private testTraceWriter : TestTraceWriter from class org.apache.phoenix.trace.PhoenixTableMetricsWriterIT to protected testTraceWriter : TestTraceWriter from class org.apache.phoenix.trace.BaseTracingTestIT | From | To | |
Pull Up Attribute private tracingTableName : String from class org.apache.phoenix.trace.PhoenixTracingEndToEndIT to protected tracingTableName : String from class org.apache.phoenix.trace.BaseTracingTestIT | From | To | |
Pull Up Attribute private testTraceWriter : TestTraceWriter from class org.apache.phoenix.trace.PhoenixTracingEndToEndIT to protected testTraceWriter : TestTraceWriter from class org.apache.phoenix.trace.BaseTracingTestIT | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.phoenix.trace.TraceMetricsSourceTest renamed to org.apache.phoenix.trace.TraceSpanReceiverTest | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute tableName : String to tracingTableName : String in method public writeMetrics() : void in class org.apache.phoenix.trace.PhoenixTableMetricsWriterIT | From | To | |
Rename Attribute | 2 | ||
Rename Attribute BATCH_SIZE : int to batchSize : int in class org.apache.phoenix.trace.TraceWriter | From | To | |
Rename Attribute NUM_THREADS : int to numThreads : int in class org.apache.phoenix.trace.TraceWriter | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method package isSpanAvailable() : boolean extracted from public run() : void in class org.apache.phoenix.trace.TraceWriter.FlushMetrics & moved to class org.apache.phoenix.trace.TraceSpanReceiver | From | To |