public class CloudTraceServiceImpl extends Object implements CloudTraceService
| Constructor and Description |
|---|
CloudTraceServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFromId()
获取来源标识(service@address:port)
|
String |
getTraceId()
获取跟踪标识
|
String |
HEADER_FROM_ID_NAME()
FromId 头名称
|
String |
HEADER_TRACE_ID_NAME()
TraceId 头名称
|
void |
setLocalTraceId(String traceId)
设置当前线程的跟踪标识
|
public String HEADER_TRACE_ID_NAME()
CloudTraceServiceHEADER_TRACE_ID_NAME in interface CloudTraceServicepublic String HEADER_FROM_ID_NAME()
CloudTraceServiceHEADER_FROM_ID_NAME in interface CloudTraceServicepublic void setLocalTraceId(String traceId)
CloudTraceServicesetLocalTraceId in interface CloudTraceServicepublic String getTraceId()
CloudTraceServicegetTraceId in interface CloudTraceServicepublic String getFromId()
CloudTraceServicegetFromId in interface CloudTraceServiceCopyright © 2025. All rights reserved.