ThreadLocalScope instead.
The operation mode of this class contrasts with the 0.32
deprecation of auto finishing Spans upon Scope.close().
AutoFinishScope is a Scope implementation that uses ref-counting
to automatically finish the wrapped Span.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.register.Tracer has previously been registered.GlobalTracer.registerIfAbsent(Tracer) or GlobalTracer.registerIfAbsent(Callable) instead.Tracer to back the behaviour of the GlobalTracer.get().Tracer to back the behaviour of the GlobalTracer.get().ThreadLocalScope is a simple Scope implementation that relies on Java's
thread-local storage primitive.ScopeManager implementation built on top of Java's thread-local storage primitive.Copyright © 2016–2019 OpenTracing. All rights reserved.