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