brave.propagation.TraceContext
@Deprecated
public abstract class TraceData
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
TraceData.Builder |
Deprecated.
use
create(SpanId) or one of the constants. |
Modifier and Type | Field | Description |
---|---|---|
static TraceData |
EMPTY |
Deprecated.
Indicates an uninstrumented caller.
|
static TraceData |
NOT_SAMPLED |
Deprecated.
An caller didn't report this trace, and neither should this hop.
|
Constructor | Description |
---|---|
TraceData() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static TraceData.Builder |
builder() |
Deprecated.
use
create(SpanId) or one of the constants. |
static TraceData |
create(SpanId spanId) |
Deprecated.
|
abstract java.lang.Boolean |
getSample() |
Deprecated.
Returns the upstream sampling decision or null to make one here.
|
abstract SpanId |
getSpanId() |
Deprecated.
Returns span attributes propagated from the caller or null, if none were sent.
|
public static final TraceData EMPTY
public static final TraceData NOT_SAMPLED
@Deprecated public static TraceData.Builder builder()
create(SpanId)
or one of the constants.@Nullable public abstract SpanId getSpanId()
@Nullable public abstract java.lang.Boolean getSample()
SpanId.sampled()
Copyright © 2018 OpenZipkin. All rights reserved.