public interface InMemorySpanContext
extends io.opentracing.SpanContext
Modifier and Type | Method and Description |
---|---|
default boolean |
isSampled()
Returns whether the span should be sampled.
|
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.