Package brave.propagation
Class TraceContext.Builder
java.lang.Object
brave.propagation.TraceContext.Builder
- Enclosing class:
- TraceContext
public static final class TraceContext.Builder extends Object
-
Method Summary
Modifier and Type Method Description TraceContextbuild()TraceContext.Builderdebug(boolean debug)TraceContext.Builderextra(List<Object> extra)Shares the input with the builder, replacing any current data in the builder.TraceContext.BuilderparentId(long parentId)TraceContext.BuilderparentId(Long parentId)TraceContext.Buildersampled(boolean sampled)TraceContext.Buildersampled(Boolean sampled)TraceContext.BuildersampledLocal(boolean sampledLocal)TraceContext.Buildershared(boolean shared)TraceContext.BuilderspanId(long spanId)TraceContext.BuildertraceId(long traceId)TraceContext.BuildertraceIdHigh(long traceIdHigh)
-
Method Details
-
traceIdHigh
- See Also:
TraceContext.traceIdHigh()
-
traceId
- See Also:
TraceContext.traceId()
-
parentId
- See Also:
TraceContext.parentIdAsLong()
-
parentId
- See Also:
TraceContext.parentId()
-
spanId
- See Also:
TraceContext.spanId()
-
sampledLocal
- See Also:
SamplingFlags.sampledLocal()
-
sampled
- See Also:
SamplingFlags.sampled()
-
sampled
- See Also:
SamplingFlags.sampled()
-
debug
- See Also:
SamplingFlags.debug()
-
shared
- See Also:
TraceContext.shared()
-
extra
Shares the input with the builder, replacing any current data in the builder.- See Also:
TraceContext.extra()
-
build
-