cfc06741277097eeccb61cca693017d23cd4b6b9
Files Diff
- Added: 10
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 4 | ||
Move And Rename Method public getTransactionId(span SpanBo) : byte[] from class com.navercorp.pinpoint.common.server.util.SpanUtils to public encodeRowKey(basicSpan BasicSpan) : byte[] from class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyEncoderV1 | From | To | |
Move And Rename Method private getDistributeRowKey(transactionId byte[]) : byte[] from class com.navercorp.pinpoint.collector.dao.hbase.HbaseTraceDao to private wrapDistributedRowKey(rowKey byte[]) : byte[] from class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyEncoderV1 | From | To | |
Move And Rename Method private newTransactionId(rowKey byte[], offset int) : TransactionId from class com.navercorp.pinpoint.web.mapper.SpanMapperV2 to private readTransactionId(rowKey byte[], offset int) : TransactionId from class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyDecoderV1 | From | To | |
Move And Rename Method private newTransactionId(rowKey byte[], offset int) : TransactionId from class com.navercorp.pinpoint.web.mapper.SpanMapper to private readTransactionId(rowKey byte[], offset int) : TransactionId from class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyDecoderV1 | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type spanChunkBo : SpanChunkBo to basicSpan : BasicSpan in method public getTransactionId(basicSpan BasicSpan) : byte[] in class com.navercorp.pinpoint.common.server.util.SpanUtils | From | To | |
Change Parameter Type span : SpanBo to basicSpan : BasicSpan in method public encodeRowKey(basicSpan BasicSpan) : byte[] in class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyEncoderV1 | From | To | |
Rename Variable | 6 | ||
Rename Variable traceIdBytes : byte[] to transactionIdRowKey : byte[] in method public selectSpan(transactionId TransactionId) : List<SpanBo> in class com.navercorp.pinpoint.web.dao.hbase.HbaseTraceDaoV2 | From | To | |
Rename Variable traceIdBytes : byte[] to transactionIdRowKey : byte[] in method public selectSpan(transactionId TransactionId) : List<SpanBo> in class com.navercorp.pinpoint.web.dao.hbase.HbaseTraceDao | From | To | |
Rename Variable transactionIdBytes : byte[] to transactionIdRowKey : byte[] in method private getSpans0(transactionIdList List<TransactionId>, columnFamily byte[]) : List<List<SpanBo>> in class com.navercorp.pinpoint.web.dao.hbase.HbaseTraceDaoV2 | From | To | |
Rename Variable traceIdBytes : byte[] to transactionIdRowKey : byte[] in method public selectSpanAndAnnotation(transactionId TransactionId) : List<SpanBo> in class com.navercorp.pinpoint.web.dao.hbase.HbaseTraceDao | From | To | |
Rename Variable transactionIdBytes : byte[] to transactionIdRowKey : byte[] in method private getSpans0(transactionIdList List<TransactionId>, hBaseFamiliyList List<byte[]>) : List<List<SpanBo>> in class com.navercorp.pinpoint.web.dao.hbase.HbaseTraceDao | From | To | |
Rename Variable transactionIdBytes : byte[] to transactionIdRowKey : byte[] in method public selectSpans(transactionId TransactionId) : List<SpanBo> in class com.navercorp.pinpoint.web.dao.hbase.HbaseTraceDao | From | To | |
Move Attribute | 4 | ||
Move Attribute public DISTRIBUTE_HASH_SIZE : int from class com.navercorp.pinpoint.web.mapper.SpanMapper to public DISTRIBUTE_HASH_SIZE : int from class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyDecoderV1 | From | To | |
Move Attribute public DISTRIBUTE_HASH_SIZE : int from class com.navercorp.pinpoint.web.mapper.SpanMapperV2 to public DISTRIBUTE_HASH_SIZE : int from class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyDecoderV1 | From | To | |
Move Attribute public AGENT_NAME_MAX_LEN : int from class com.navercorp.pinpoint.web.mapper.SpanMapperV2 to public AGENT_NAME_MAX_LEN : int from class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyDecoderV1 | From | To | |
Move Attribute public AGENT_NAME_MAX_LEN : int from class com.navercorp.pinpoint.web.mapper.SpanMapper to public AGENT_NAME_MAX_LEN : int from class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyDecoderV1 | From | To | |
Extract Class | 2 | ||
Extract Class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyDecoderV1 from class com.navercorp.pinpoint.web.mapper.SpanMapper | From | To | |
Extract Class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyDecoderV1 from class com.navercorp.pinpoint.web.mapper.SpanMapperV2 | From | To | |
Rename Parameter | 3 | ||
Rename Parameter spanChunkBo : SpanChunkBo to basicSpan : BasicSpan in method public getTransactionId(basicSpan BasicSpan) : byte[] in class com.navercorp.pinpoint.common.server.util.SpanUtils | From | To | |
Rename Parameter span : SpanBo to basicSpan : BasicSpan in method public encodeRowKey(basicSpan BasicSpan) : byte[] in class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyEncoderV1 | From | To | |
Rename Parameter transactionId : byte[] to rowKey : byte[] in method private wrapDistributedRowKey(rowKey byte[]) : byte[] in class com.navercorp.pinpoint.common.server.bo.serializer.trace.v1.TraceRowKeyEncoderV1 | From | To |