| Package | Description |
|---|---|
| brave | |
| brave.propagation |
| Modifier and Type | Method | Description |
|---|---|---|
abstract CurrentTraceContext |
Tracing.currentTraceContext() |
This supports in-process propagation, typically across thread boundaries.
|
| Modifier and Type | Method | Description |
|---|---|---|
Tracer.Builder |
Tracer.Builder.currentTraceContext(CurrentTraceContext currentTraceContext) |
Deprecated.
|
Tracing.Builder |
Tracing.Builder.currentTraceContext(CurrentTraceContext currentTraceContext) |
Responsible for implementing
Tracer.currentSpan() and Tracer.withSpanInScope(Span). |
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CurrentTraceContext.Default |
Default implementation which is backed by a static thread local.
|
class |
StrictCurrentTraceContext |
Useful when developing instrumentation as state is enforced more strictly.
|
| Modifier and Type | Method | Description |
|---|---|---|
static CurrentTraceContext |
CurrentTraceContext.Default.create() |
Uses a non-inheritable static thread local
|
static CurrentTraceContext |
CurrentTraceContext.Default.inheritable() |
Uses an inheritable static thread local which allows arbitrary calls to
Thread.start() to automatically inherit this context. |
Copyright © 2017 OpenZipkin. All rights reserved.