public class SourceDistributedSourceTraceContext extends Object implements InternalDistributedTraceContextManager
DistributedTraceContextManager used internally for sources.InternalDistributedTraceContextManager.InternalDistributedTraceContextManagerWrapper| Constructor and Description |
|---|
SourceDistributedSourceTraceContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCurrentSpanAttribute(String key,
String value) |
void |
addCurrentSpanAttributes(Map<String,String> attributes) |
Map<String,String> |
getRemoteTraceContextMap() |
String |
getSpanName() |
Map<String,String> |
getSpanRootAttributes() |
void |
setCurrentSpanName(String name) |
void |
setRemoteTraceContextMap(Map<String,String> remoteTraceContextMap) |
<T> T |
visit(InternalDistributedTraceContextVisitor<T> visitor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInternalDistributedTraceContextManagerpublic void setRemoteTraceContextMap(Map<String,String> remoteTraceContextMap)
setRemoteTraceContextMap in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic Map<String,String> getRemoteTraceContextMap()
getRemoteTraceContextMap in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic void setCurrentSpanName(String name)
setCurrentSpanName in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic void addCurrentSpanAttribute(String key, String value)
addCurrentSpanAttribute in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic void addCurrentSpanAttributes(Map<String,String> attributes)
addCurrentSpanAttributes in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic String getSpanName()
public <T> T visit(InternalDistributedTraceContextVisitor<T> visitor)
visit in interface InternalDistributedTraceContextManagerCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.