public final class ThreadContextCurrentTraceContext extends CurrentTraceContext
span is current. These can be used in log correlation.CurrentTraceContext.Default, CurrentTraceContext.Scope| Modifier and Type | Method | Description |
|---|---|---|
static ThreadContextCurrentTraceContext |
create() |
|
static ThreadContextCurrentTraceContext |
create(CurrentTraceContext delegate) |
|
TraceContext |
get() |
|
CurrentTraceContext.Scope |
newScope(TraceContext currentSpan) |
executor, executorService, wrap, wrappublic static ThreadContextCurrentTraceContext create()
public static ThreadContextCurrentTraceContext create(CurrentTraceContext delegate)
public TraceContext get()
get in class CurrentTraceContextpublic CurrentTraceContext.Scope newScope(@Nullable TraceContext currentSpan)
newScope in class CurrentTraceContextCopyright © 2018 OpenZipkin. All rights reserved.