| Package | Description |
|---|---|
| com.github.kristofa.brave |
| Modifier and Type | Method | Description |
|---|---|---|
ServerSpanThreadBinder |
Brave.serverSpanThreadBinder() |
Deprecated.
Helper object that can be used to propogate server trace state.
|
| Modifier and Type | Method | Description |
|---|---|---|
static <T> BraveCallable<T> |
BraveCallable.create(java.util.concurrent.Callable<T> wrappedCallable,
ServerSpanThreadBinder serverSpanThreadBinder) |
Deprecated.
use
BraveCallable.wrap(Callable, Brave) because this constructor loses thread
state for local span parents. |
static BraveRunnable |
BraveRunnable.create(java.lang.Runnable runnable,
ServerSpanThreadBinder serverSpanThreadBinder) |
Deprecated.
use
BraveRunnable.wrap(Runnable, Brave) because this constructor loses thread
state for local span parents. |
static Span |
TracerAdapter.getServerSpan(Tracer tracer,
ServerSpanThreadBinder threadBinder) |
Returns a span representing the sampled status of the current server span or null if there's no
span attached to the current thread.
|
static void |
TracerAdapter.setServerSpan(TraceContext context,
ServerSpanThreadBinder threadBinder) |
Sets a span associated with the context as the current server span.
|
| Constructor | Description |
|---|---|
BraveExecutorService(java.util.concurrent.ExecutorService wrappedExecutor,
ServerSpanThreadBinder serverSpanThreadBinder) |
Deprecated.
use
BraveExecutorService.wrap(ExecutorService, Brave) because this constructor loses thread
state for local span parents. |
Copyright © 2018 OpenZipkin. All rights reserved.