Class ThresholdLogScope
java.lang.Object
com.couchbase.client.core.tracing.ThresholdLogScope
- All Implemented Interfaces:
io.opentracing.Scope
,Closeable
,AutoCloseable
ThresholdLogScope
is a simple Scope
implementation that relies on Java's
thread-local storage primitive, very similar to the one shipped with "opentracing-util".- Since:
- 1.6.0
- Author:
- Michael Nitschinger
-
Method Summary
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceio.opentracing.Scope
-
span
public io.opentracing.Span span()- Specified by:
span
in interfaceio.opentracing.Scope
-