Package fish.payara.opentracing.tracer
Class Tracer
- java.lang.Object
-
- fish.payara.opentracing.tracer.Tracer
-
- All Implemented Interfaces:
io.opentracing.Tracer,Closeable,AutoCloseable
@Deprecated public class Tracer extends Object implements io.opentracing.Tracer
Deprecated.Implementation of the OpenTracing Tracer class.- Author:
- Andrew Pielage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTracer.SpanBuilderDeprecated.Implementation of the OpenTracing SpanBuilder class.
-
Constructor Summary
Constructors Constructor Description Tracer(String applicationName, RequestTracingService requestTracingService)Deprecated.Constructor that registers this Tracer to an application using a thread-local ScopeManager
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description io.opentracing.ScopeactivateSpan(io.opentracing.Span span)Deprecated.io.opentracing.SpanactiveSpan()Deprecated.Tracer.SpanBuilderbuildSpan(String operationName)Deprecated.voidclose()Deprecated.<C> io.opentracing.SpanContextextract(io.opentracing.propagation.Format<C> format, C carrier)Deprecated.<C> voidinject(io.opentracing.SpanContext spanContext, io.opentracing.propagation.Format<C> format, C carrier)Deprecated.io.opentracing.ScopeManagerscopeManager()Deprecated.
-
-
-
Constructor Detail
-
Tracer
public Tracer(String applicationName, RequestTracingService requestTracingService)
Deprecated.Constructor that registers this Tracer to an application using a thread-local ScopeManager- Parameters:
applicationName- The application to register this tracer to
-
-
Method Detail
-
buildSpan
public Tracer.SpanBuilder buildSpan(String operationName)
Deprecated.- Specified by:
buildSpanin interfaceio.opentracing.Tracer
-
inject
public <C> void inject(io.opentracing.SpanContext spanContext, io.opentracing.propagation.Format<C> format, C carrier)Deprecated.- Specified by:
injectin interfaceio.opentracing.Tracer
-
extract
public <C> io.opentracing.SpanContext extract(io.opentracing.propagation.Format<C> format, C carrier)Deprecated.- Specified by:
extractin interfaceio.opentracing.Tracer
-
scopeManager
public io.opentracing.ScopeManager scopeManager()
Deprecated.- Specified by:
scopeManagerin interfaceio.opentracing.Tracer
-
activeSpan
public io.opentracing.Span activeSpan()
Deprecated.- Specified by:
activeSpanin interfaceio.opentracing.Tracer
-
activateSpan
public io.opentracing.Scope activateSpan(io.opentracing.Span span)
Deprecated.- Specified by:
activateSpanin interfaceio.opentracing.Tracer
-
close
public void close()
Deprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceio.opentracing.Tracer
-
-