Class ThresholdLogScope
- java.lang.Object
-
- com.couchbase.client.core.tracing.ThresholdLogScope
-
- All Implemented Interfaces:
io.opentracing.Scope
,Closeable
,AutoCloseable
public class ThresholdLogScope extends Object implements io.opentracing.Scope
ThresholdLogScope
is a simpleScope
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 Detail
-
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
-
-