public class SpanAndScope extends Object implements Closeable
Span and its corresponding Tracer.SpanInScope.| Constructor and Description |
|---|
SpanAndScope(Span span,
Tracer.SpanInScope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Tracer.SpanInScope |
getScope() |
Span |
getSpan() |
String |
toString() |
public SpanAndScope(Span span, Tracer.SpanInScope scope)
public Span getSpan()
public Tracer.SpanInScope getScope()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2021 Pivotal Software, Inc.. All rights reserved.