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)
Deprecated.
|
<R,X extends Throwable> |
with(org.noear.solon.util.CallableTx<R,X> callable) |
<X extends Throwable> |
with(org.noear.solon.util.RunnableTx<X> runnable) |
<R,X extends Throwable> |
with(String traceId,
org.noear.solon.util.CallableTx<R,X> callable) |
<X extends Throwable> |
with(String traceId,
org.noear.solon.util.RunnableTx<X> runnable) |
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 <X extends Throwable> void with(String traceId, org.noear.solon.util.RunnableTx<X> runnable) throws X extends Throwable
with in interface CloudTraceServiceX extends Throwablepublic <R,X extends Throwable> R with(String traceId, org.noear.solon.util.CallableTx<R,X> callable) throws X extends Throwable
with in interface CloudTraceServiceX extends Throwablepublic <X extends Throwable> void with(org.noear.solon.util.RunnableTx<X> runnable) throws X extends Throwable
with in interface CloudTraceServiceX extends Throwablepublic <R,X extends Throwable> R with(org.noear.solon.util.CallableTx<R,X> callable) throws X extends Throwable
with in interface CloudTraceServiceX extends Throwable@Deprecated public void setLocalTraceId(String traceId)
CloudTraceServicesetLocalTraceId in interface CloudTraceServicepublic String getTraceId()
CloudTraceServicegetTraceId in interface CloudTraceServicepublic String getFromId()
CloudTraceServicegetFromId in interface CloudTraceServiceCopyright © 2026. All rights reserved.