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 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 Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface io.opentracing.Scope
    • span

      public io.opentracing.Span span()
      Specified by:
      span in interface io.opentracing.Scope