public final class StrictCurrentTraceContext extends CurrentTraceContext
CurrentTraceContext.Default, CurrentTraceContext.Scope| Constructor and Description |
|---|
StrictCurrentTraceContext() |
| 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)
Identifies problems by throwing assertion errors when a scope is closed on a different thread.
|
executor, executorService, wrap, wrappublic TraceContext get()
CurrentTraceContextget in class CurrentTraceContextpublic CurrentTraceContext.Scope newScope(TraceContext currentSpan)
newScope in class CurrentTraceContextCopyright © 2017 OpenZipkin. All rights reserved.