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 class
Tracer.SpanBuilder
Deprecated.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.Scope
activateSpan(io.opentracing.Span span)
Deprecated.io.opentracing.Span
activeSpan()
Deprecated.Tracer.SpanBuilder
buildSpan(String operationName)
Deprecated.void
close()
Deprecated.<C> io.opentracing.SpanContext
extract(io.opentracing.propagation.Format<C> format, C carrier)
Deprecated.<C> void
inject(io.opentracing.SpanContext spanContext, io.opentracing.propagation.Format<C> format, C carrier)
Deprecated.io.opentracing.ScopeManager
scopeManager()
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:
buildSpan
in interfaceio.opentracing.Tracer
-
inject
public <C> void inject(io.opentracing.SpanContext spanContext, io.opentracing.propagation.Format<C> format, C carrier)
Deprecated.- Specified by:
inject
in interfaceio.opentracing.Tracer
-
extract
public <C> io.opentracing.SpanContext extract(io.opentracing.propagation.Format<C> format, C carrier)
Deprecated.- Specified by:
extract
in interfaceio.opentracing.Tracer
-
scopeManager
public io.opentracing.ScopeManager scopeManager()
Deprecated.- Specified by:
scopeManager
in interfaceio.opentracing.Tracer
-
activeSpan
public io.opentracing.Span activeSpan()
Deprecated.- Specified by:
activeSpan
in interfaceio.opentracing.Tracer
-
activateSpan
public io.opentracing.Scope activateSpan(io.opentracing.Span span)
Deprecated.- Specified by:
activateSpan
in interfaceio.opentracing.Tracer
-
close
public void close()
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceio.opentracing.Tracer
-
-