public interface InMemorySpanContext
extends io.opentracing.SpanContext
Modifier and Type | Method and Description |
---|---|
default boolean |
isSampled()
Returns whether the span should be sampled.
|
default java.lang.String |
toSpanId() |
default java.lang.String |
toTraceId() |
InMemoryTraceState |
traceState()
Get the
InMemoryTraceState associated with this object. |
InMemoryTraceState traceState()
InMemoryTraceState
associated with this object.InMemoryTraceState
associated with this object.default boolean isSampled()
Note this may differ from InMemoryTraceState.isSampled()
from traceState()
if the value is overridden
based upon some sampling policy.
default java.lang.String toTraceId()
toTraceId
in interface io.opentracing.SpanContext
default java.lang.String toSpanId()
toSpanId
in interface io.opentracing.SpanContext