Uses of Class
brave.propagation.CurrentTraceContext
| Package | Description |
|---|---|
| brave | |
| brave.propagation |
-
Uses of CurrentTraceContext in brave
Methods in brave that return CurrentTraceContext Modifier and Type Method Description abstract CurrentTraceContextTracing. currentTraceContext()This supports in-process propagation, typically across thread boundaries.Methods in brave with parameters of type CurrentTraceContext Modifier and Type Method Description Tracing.BuilderTracing.Builder. currentTraceContext(CurrentTraceContext currentTraceContext)Responsible for implementingTracer.startScopedSpan(String),Tracer.currentSpanCustomizer(),Tracer.currentSpan()andTracer.withSpanInScope(Span). -
Uses of CurrentTraceContext in brave.propagation
Subclasses of CurrentTraceContext in brave.propagation Modifier and Type Class Description static classCurrentTraceContext.DefaultDefault implementation which is backed by a static thread local.classStrictCurrentTraceContextDeprecated.use StrictScopeDecorator.classThreadLocalCurrentTraceContextIn-process trace context propagation backed by a static thread local.Methods in brave.propagation that return CurrentTraceContext Modifier and Type Method Description abstract CurrentTraceContextCurrentTraceContext.Builder. build()static CurrentTraceContextCurrentTraceContext.Default. create()Uses a non-inheritable static thread localstatic CurrentTraceContextThreadLocalCurrentTraceContext. create()static CurrentTraceContextCurrentTraceContext.Default. inheritable()Uses an inheritable static thread local which allows arbitrary calls toThread.start()to automatically inherit this context.