| Constructor and Description |
|---|
ThreadLocalSpan(Tracer tracer) |
| Modifier and Type | Method and Description |
|---|---|
SpanAndScope |
get() |
void |
remove()
Removes the current span from thread local and brings back the previous span to the
current thread local.
|
void |
set(Span span)
Sets given span and scope.
|
public ThreadLocalSpan(Tracer tracer)
public void set(Span span)
span - - span to be put in scopepublic SpanAndScope get()
public void remove()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.