bb9a7119c660d90168f2cdf86c135cf8cc6b94e7
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public removeActiveTrace(key Long) : void renamed to public remove(key Long) : void in class com.navercorp.pinpoint.profiler.context.ActiveTraceRepository | From | To | |
| Rename Method public addActiveTrace(key Long, trace ActiveTraceInfo) : void renamed to public put(key Long, trace ActiveTraceInfo) : void in class com.navercorp.pinpoint.profiler.context.ActiveTraceRepository | From | To | |
| Rename Method public warp(trace Trace) : Trace renamed to public wrap(trace Trace) : Trace in class com.navercorp.pinpoint.profiler.context.TraceWrap | From | To | |
| Move Method | 2 | ||
| Move Method private nextDisableId() : long from class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory to public nextDisableId() : long from class com.navercorp.pinpoint.profiler.context.IdGenerator | From | To | |
| Move Method private nextTransactionId() : long from class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory to public nextTransactionId() : long from class com.navercorp.pinpoint.profiler.context.IdGenerator | From | To | |
| Rename Variable | 2 | ||
| Rename Variable spanId : long to traceObjectId : long in method private detachTrace(trace Trace) : void in class com.navercorp.pinpoint.profiler.context.ActiveTraceFactory | From | To | |
| Rename Variable threadLocalThreadFactory : TraceFactory to threadLocalTraceFactory : TraceFactory in method private createTraceFactory(storageFactory StorageFactory, sampler Sampler) : TraceFactory in class com.navercorp.pinpoint.profiler.context.DefaultTraceContext | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private transactionId : AtomicLong from class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory to private transactionId : AtomicLong from class com.navercorp.pinpoint.profiler.context.IdGenerator | From | To | |
| Move Attribute private disableId : AtomicLong from class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory to private disableId : AtomicLong from class com.navercorp.pinpoint.profiler.context.IdGenerator | From | To | |
| Extract Class | 1 | ||
| Extract Class com.navercorp.pinpoint.profiler.context.IdGenerator from class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Parameterize Variable | 3 | ||
| Parameterize Variable metricTrace : Trace to trace : Trace in method private bind(trace Trace) : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Parameterize Variable disableTrace : Trace to trace : Trace in method private bind(trace Trace) : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Parameterize Variable asyncTrace : AsyncTrace to trace : Trace in method private bind(trace Trace) : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute threadLocal : ThreadLocal<Trace> to threadLocalBinder : Binder<Trace> in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type asyncTrace : AsyncTrace to trace : Trace in method private bind(trace Trace) : void in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type threadLocal : ThreadLocal<Trace> to threadLocalBinder : Binder<Trace> in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Extract Method | 6 | ||
| Extract Method private bind(trace Trace) : void extracted from public continueTraceObject(trace Trace) : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Extract Method private bind(trace Trace) : void extracted from public newTraceObject(traceType TraceType) : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Extract Method private bind(trace Trace) : void extracted from public continueAsyncTraceObject(traceId AsyncTraceId, asyncId int, startTime long) : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Extract Method private bind(trace Trace) : void extracted from public continueTraceObject(traceID TraceId) : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To | |
| Extract Method private bind(trace Trace) : void extracted from public disableSampling() : Trace in class com.navercorp.pinpoint.profiler.context.ThreadLocalTraceFactory | From | To |