ThreadLocalScopeManager instead.
The operation mode of this class contrasts with the 0.32
deprecation of auto finishing Spans upon Scope#close().
See https://github.com/opentracing/opentracing-java/issues/291
A ScopeManager implementation that uses ref-counting to automatically finish Spans.@Deprecated public class AutoFinishScopeManager extends Object implements ScopeManager
AutoFinishScope| Constructor and Description |
|---|
AutoFinishScopeManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AutoFinishScope |
activate(Span span)
Deprecated.
|
AutoFinishScope |
activate(Span span,
boolean finishOnClose)
Deprecated.
|
AutoFinishScope |
active()
Deprecated.
|
Span |
activeSpan()
Deprecated.
|
AutoFinishScope.Continuation |
captureScope()
Deprecated.
|
public AutoFinishScope activate(Span span, boolean finishOnClose)
activate in interface ScopeManagerpublic AutoFinishScope activate(Span span)
activate in interface ScopeManagerpublic AutoFinishScope active()
active in interface ScopeManagerpublic Span activeSpan()
activeSpan in interface ScopeManagerpublic AutoFinishScope.Continuation captureScope()
Copyright © 2016–2019 OpenTracing. All rights reserved.