-
- All Implemented Interfaces:
-
io.opentracing.SpanContext
public class ExtractedContext extends TagContext
Propagated data resulting from calling tracer.extract with header data from an incoming request.
-
-
Field Summary
Fields Modifier and Type Field Description private final BigIntegertraceIdprivate final BigIntegerspanIdprivate final intsamplingPriorityprivate final Map<String, String>baggage
-
Constructor Summary
Constructors Constructor Description ExtractedContext(BigInteger traceId, BigInteger spanId, int samplingPriority, String origin, Map<String, String> baggage, Map<String, String> tags)
-
Method Summary
Modifier and Type Method Description BigIntegergetTraceId()BigIntegergetSpanId()intgetSamplingPriority()Map<String, String>getBaggage()Iterable<Map.Entry<String, String>>baggageItems()voidlockSamplingPriority()-
Methods inherited from class com.datadog.opentracing.propagation.TagContext
getOrigin, getTags, toSpanId, toTraceId -
Methods inherited from class io.opentracing.SpanContext
baggageItems, toSpanId, toTraceId -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ExtractedContext
ExtractedContext(BigInteger traceId, BigInteger spanId, int samplingPriority, String origin, Map<String, String> baggage, Map<String, String> tags)
-
-
Method Detail
-
getTraceId
BigInteger getTraceId()
-
getSpanId
BigInteger getSpanId()
-
getSamplingPriority
int getSamplingPriority()
-
getBaggage
Map<String, String> getBaggage()
-
baggageItems
Iterable<Map.Entry<String, String>> baggageItems()
-
lockSamplingPriority
void lockSamplingPriority()
-
-
-
-