public static final class CurrentTraceContext.Default extends CurrentTraceContext
CurrentTraceContext.Default, CurrentTraceContext.Scope| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
TraceContext |
get()
Returns the current span in scope or null if there isn't one.
|
CurrentTraceContext.Scope |
newScope(TraceContext currentSpan)
Sets the current span in scope until the returned object is closed.
|
executor, executorService, wrap, wrappublic TraceContext get()
CurrentTraceContextget in class CurrentTraceContextpublic CurrentTraceContext.Scope newScope(TraceContext currentSpan)
CurrentTraceContextnewScope in class CurrentTraceContextCopyright © 2017 OpenZipkin. All rights reserved.